Package org.tmatesoft.svn.core.wc2
Class SvnStatusSummary
- java.lang.Object
-
- org.tmatesoft.svn.core.wc2.SvnObject
-
- org.tmatesoft.svn.core.wc2.SvnStatusSummary
-
public class SvnStatusSummary extends SvnObject
Represents status summary information for local working copy item, including all its children. is used inSvnGetStatusSummary.- Since:
- 1.7
- Version:
- 1.7
- Author:
- TMate Software Ltd.
- See Also:
SvnGetStatusSummary
-
-
Constructor Summary
Constructors Constructor Description SvnStatusSummary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetMaxRevision()Returns the biggest item's revision between all found items.longgetMinRevision()Returns the smallest revision between all found items.booleanisModified()Returns whether at least one of the items is changed in working copy.booleanisSparseCheckout()Gets whether the items are result of "sparse" checkout.booleanisSwitched()Returns whether at least one of the items is switched to a different repository location.voidsetMaxRevision(long maxRevision)Sets the biggest item's revision between all found items.voidsetMinRevision(long minRevision)Sets the smallest revision between all found items.voidsetModified(boolean isModified)Sets whether at least one of the items is changed in working copy.voidsetSparseCheckout(boolean isSparseCheckout)Sets whether the items are result of "sparse" checkout.voidsetSwitched(boolean isSwitched)Sets whether at least one of the items is switched to a different repository location.java.lang.StringtoString()ReturnsStringrepresentation of summary status.-
Methods inherited from class org.tmatesoft.svn.core.wc2.SvnObject
getUserData, setUserData
-
-
-
-
Method Detail
-
getMinRevision
public long getMinRevision()
Returns the smallest revision between all found items.- Returns:
- the smallest revision
-
getMaxRevision
public long getMaxRevision()
Returns the biggest item's revision between all found items.- Returns:
- the biggest revision
-
isModified
public boolean isModified()
Returns whether at least one of the items is changed in working copy.- Returns:
trueif one of the items is changed, otherwisefalse
-
isSparseCheckout
public boolean isSparseCheckout()
Gets whether the items are result of "sparse" checkout.- Returns:
trueif items are result of "sparse" checkout, otherwisefalse- Since:
- 1.7
-
isSwitched
public boolean isSwitched()
Returns whether at least one of the items is switched to a different repository location.- Returns:
trueif one of the items is switched to a different repository location, otherwisefalse
-
setMinRevision
public void setMinRevision(long minRevision)
Sets the smallest revision between all found items.- Parameters:
minRevision- the smallest revision
-
setMaxRevision
public void setMaxRevision(long maxRevision)
Sets the biggest item's revision between all found items.- Parameters:
maxRevision- the biggest revision
-
setModified
public void setModified(boolean isModified)
Sets whether at least one of the items is changed in working copy.- Parameters:
isModified-trueif one of the items is changed, otherwisefalse
-
setSparseCheckout
public void setSparseCheckout(boolean isSparseCheckout)
Sets whether the items are result of "sparse" checkout.- Parameters:
isSparseCheckout-trueif items are result of "sparse" checkout, otherwisefalse- Since:
- 1.7
-
setSwitched
public void setSwitched(boolean isSwitched)
Sets whether at least one of the items is switched to a different repository location.- Parameters:
isSwitched-trueif one of the items is switched to a different repository location, otherwisefalse
-
toString
public java.lang.String toString()
ReturnsStringrepresentation of summary status.- Overrides:
toStringin classjava.lang.Object- Returns:
- summary status as
String
-
-