Class SVNStatusUtils
java.lang.Object
org.tigris.subversion.svnclientadapter.utils.SVNStatusUtils
Some static methods to deal with svn status
- Author:
- cedric chabanois (cchab at tigris.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanhasRemote(ISVNStatus status) Returns if the resource has a remote counter-partstatic booleanisAdded(ISVNStatus status) static booleanisDeleted(ISVNStatus status) static booleanisIgnored(ISVNStatus status) static booleanisManaged(ISVNStatus status) Returns if is managed by svn (added, normal, modified ...)static booleanisManaged(SVNStatusKind textStatus) static booleanisMissing(ISVNStatus status) static booleanisPropConflicted(ISVNStatus status) static booleanisPropModified(ISVNStatus status) static booleanisReadyForCommit(ISVNStatus status) Answer whether the status is "outgoing", i.e.static booleanisReadyForRevert(ISVNStatus status) Answer whether the status was "changed", i.e.static booleanisReplaced(ISVNStatus status) static booleanisTextConflicted(ISVNStatus status) static booleanisTextMerged(ISVNStatus status) static booleanisTextModified(ISVNStatus status)
-
Constructor Details
-
SVNStatusUtils
public SVNStatusUtils()
-
-
Method Details
-
isManaged
- Parameters:
textStatus- The status information to examine (non-null).- Returns:
- Whether
textStatusdenotes a versioned resource.
-
isManaged
Returns if is managed by svn (added, normal, modified ...)- Parameters:
status-- Returns:
- if managed by svn
-
hasRemote
Returns if the resource has a remote counter-part- Parameters:
status-- Returns:
- has version in repository
-
isAdded
-
isDeleted
-
isReplaced
-
isMissing
-
isIgnored
-
isTextMerged
-
isTextModified
-
isTextConflicted
-
isPropModified
-
isPropConflicted
-
isReadyForCommit
Answer whether the status is "outgoing", i.e. whether resource with such status could/should be commited- Parameters:
status-- Returns:
- true when the status represents "outgoing" state
-
isReadyForRevert
Answer whether the status was "changed", i.e. whether resource with such status could/should be reverted- Parameters:
status-- Returns:
- true when the status represents "changed" state
-