congrats Icon
New! Announcing our next generation AI code completions
Read here
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

  • Start an intent from android
  • addToBackStack (FragmentTransaction)
  • getExternalFilesDir (Context)
  • onRequestPermissionsResult (Fragment)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Collectors (java.util.stream)
  • Notification (javax.management)
  • JTable (javax.swing)
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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