Tabnine Logo
SVNCommitPacket.getItemIndex
Code IndexAdd Tabnine to your IDE (free)

How to use
getItemIndex
method
in
org.tmatesoft.svn.core.wc.SVNCommitPacket

Best Java code snippets using org.tmatesoft.svn.core.wc.SVNCommitPacket.getItemIndex (Showing top 8 results out of 315)

origin: org.tmatesoft.svnkit/svnkit

/**
 * Determines if an item intended for a commit is set to
 * be skipped - that is not to be committed.
 *
 * @param  item  an item to check
 * @return       <span class="javakeyword">true</span> if the item
 *               is set to be skipped, otherwise <span class="javakeyword">false</span>
 * @see          #setCommitItemSkipped(SVNCommitItem, boolean)
 */
public boolean isCommitItemSkipped(SVNCommitItem item) {
  int index = getItemIndex(item);
  if (index >= 0 && index < myIsSkipped.length) {
    return myIsSkipped[index];
  }
  return true;
}
origin: org.codehaus.jtstand/jtstand-svnkit

/**
 * Determines if an item intended for a commit is set to 
 * be skipped - that is not to be committed.
 * 
 * @param  item  an item to check
 * @return       <span class="javakeyword">true</span> if the item
 *               is set to be skipped, otherwise <span class="javakeyword">false</span>
 * @see          #setCommitItemSkipped(SVNCommitItem, boolean)   
 */
public boolean isCommitItemSkipped(SVNCommitItem item) {
  int index = getItemIndex(item);
  if (index >= 0 && index < myIsSkipped.length) {
    return myIsSkipped[index];
  }
  return true;
}

origin: org.tmatesoft/svn

/**
 * Determines if an item intended for a commit is set to 
 * be skipped - that is not to be committed.
 * 
 * @param  item  an item to check
 * @return       <span class="javakeyword">true</span> if the item
 *               is set to be skipped, otherwise <span class="javakeyword">false</span>
 * @see          #setCommitItemSkipped(SVNCommitItem, boolean)   
 */
public boolean isCommitItemSkipped(SVNCommitItem item) {
  int index = getItemIndex(item);
  if (index >= 0 && index < myIsSkipped.length) {
    return myIsSkipped[index];
  }
  return true;
}
 
origin: org.jvnet.hudson.svnkit/svnkit

/**
 * Determines if an item intended for a commit is set to 
 * be skipped - that is not to be committed.
 * 
 * @param  item  an item to check
 * @return       <span class="javakeyword">true</span> if the item
 *               is set to be skipped, otherwise <span class="javakeyword">false</span>
 * @see          #setCommitItemSkipped(SVNCommitItem, boolean)   
 */
public boolean isCommitItemSkipped(SVNCommitItem item) {
  int index = getItemIndex(item);
  if (index >= 0 && index < myIsSkipped.length) {
    return myIsSkipped[index];
  }
  return true;
}

origin: org.tmatesoft.svnkit/svnkit

/**
 * Sets or unsets a versioned item to be skipped -
 * whether or not it should be committed.
 *
 *
 * @param item      an item that should be marked skipped
 * @param skipped   if <span class="javakeyword">true</span> the item is
 *                  set to be skipped (a commit operation should skip
 *                  the item), otherwise - unskipped if it was
 *                  previously marked skipped
 * @see             #isCommitItemSkipped(SVNCommitItem)
 *
 */
public void setCommitItemSkipped(SVNCommitItem item, boolean skipped) {
  int index = getItemIndex(item);
  if (index >= 0 && index < myIsSkipped.length) {
    myIsSkipped[index] = skipped;
  }
}
origin: org.jvnet.hudson.svnkit/svnkit

/**
 * Sets or unsets a versioned item to be skipped - 
 * whether or not it should be committed. 
 * 
 * 
 * @param item      an item that should be marked skipped
 * @param skipped   if <span class="javakeyword">true</span> the item is
 *                  set to be skipped (a commit operation should skip 
 *                  the item), otherwise - unskipped if it was
 *                  previously marked skipped
 * @see             #isCommitItemSkipped(SVNCommitItem)
 *                  
 */
public void setCommitItemSkipped(SVNCommitItem item, boolean skipped) {
  int index = getItemIndex(item);
  if (index >= 0 && index < myIsSkipped.length) {
    myIsSkipped[index] = skipped;
  }
}

origin: org.codehaus.jtstand/jtstand-svnkit

/**
 * Sets or unsets a versioned item to be skipped - 
 * whether or not it should be committed. 
 * 
 * 
 * @param item      an item that should be marked skipped
 * @param skipped   if <span class="javakeyword">true</span> the item is
 *                  set to be skipped (a commit operation should skip 
 *                  the item), otherwise - unskipped if it was
 *                  previously marked skipped
 * @see             #isCommitItemSkipped(SVNCommitItem)
 *                  
 */
public void setCommitItemSkipped(SVNCommitItem item, boolean skipped) {
  int index = getItemIndex(item);
  if (index >= 0 && index < myIsSkipped.length) {
    myIsSkipped[index] = skipped;
  }
}

origin: org.tmatesoft/svn

/**
 * Sets or unsets a versioned item to be skipped - 
 * whether or not it should be committed. 
 * 
 * 
 * @param item      an item that should be marked skipped
 * @param skipped   if <span class="javakeyword">true</span> the item is
 *                  set to be skipped (a commit operation should skip 
 *                  the item), otherwise - unskipped if it was
 *                  previously marked skipped
 * @see             #isCommitItemSkipped(SVNCommitItem)
 *                  
 */
public void setCommitItemSkipped(SVNCommitItem item, boolean skipped) {
  int index = getItemIndex(item);
  if (index >= 0 && index < myIsSkipped.length) {
    myIsSkipped[index] = skipped;
  }
}
 
org.tmatesoft.svn.core.wcSVNCommitPacketgetItemIndex

Popular methods of SVNCommitPacket

  • dispose
    Disposes the current object.
  • getCommitItems
    Gets an array of SVNCommitItem objects stored in this object.
  • <init>
  • getLockTokens
  • removeSkippedItems
  • filterSkippedItemsAndLockTokens
  • isCommitItemSkipped
    Determines if an item intended for a commit is set to be skipped - that is not to be committed.
  • setCommitItemSkipped
    Sets or unsets a versioned item to be skipped - whether or not it should be committed.

Popular in Java

  • Making http requests using okhttp
  • setRequestProperty (URLConnection)
  • setContentView (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now