Package org.tmatesoft.svn.core.wc
Class SVNConflictReason
java.lang.Object
org.tmatesoft.svn.core.wc.SVNConflictReason
public class SVNConflictReason
extends java.lang.Object
The SVNConflictReason class represents an enumeration of constants describing the reason of a
conflict state in a working copy produced by a merge operation.
- Since:
- 1.2
- Version:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SVNConflictReasonConstant saying that an object is already added or schedule-addstatic final SVNConflictReasonConstant saying that an object is already schedule-delete.static final SVNConflictReasonConstant saying that local edits are already present.static final SVNConflictReasonConstant saying that an object is unknown or missing.static final SVNConflictReasonConstant saying that an object has been moved awaystatic final SVNConflictReasonConstant saying that an object has been moved hereprivate final java.lang.Stringstatic final SVNConflictReasonConstant saying that another object is in the way.static final SVNConflictReasonConstant saying that an object is already replaced.static final SVNConflictReasonstatic final SVNConflictReasonConstant saying that an object is unversioned.static final SVNConflictReason -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SVNConflictReasonfromString(java.lang.String reason) Converts a string reason name to anSVNConflictReasonobject.java.lang.StringgetName()Retunrns a string representation of this object.java.lang.StringtoString()Retunrns a string representation of this object.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
EDITED
Constant saying that local edits are already present. -
OBSTRUCTED
Constant saying that another object is in the way. -
DELETED
Constant saying that an object is already schedule-delete. -
MISSING
Constant saying that an object is unknown or missing. Reserved (never passed currently). -
UNVERSIONED
Constant saying that an object is unversioned. Reserved (never passed currently). -
ADDED
Constant saying that an object is already added or schedule-add -
REPLACED
Constant saying that an object is already replaced.- Since:
- New in 1.7.
-
MOVED_AWAY
Constant saying that an object has been moved away- Since:
- New in 1.8.
-
MOVED_HERE
Constant saying that an object has been moved here- Since:
- New in 1.8.
-
SKIP
- Since:
- New in 1.8.
-
WC_SKIP
-
myName
private final java.lang.String myName
-
-
Constructor Details
-
SVNConflictReason
private SVNConflictReason(java.lang.String name)
-
-
Method Details
-
fromString
Converts a string reason name to anSVNConflictReasonobject.- Parameters:
reason- name- Returns:
- an
SVNConflictReasonthat matches thereasonname;nullif no match is found - Since:
- 1.3
-
getName
public java.lang.String getName()Retunrns a string representation of this object.- Returns:
- conflict reason name
- Since:
- 1.3
-
toString
public java.lang.String toString()Retunrns a string representation of this object.- Overrides:
toStringin classjava.lang.Object- Returns:
- conflict reason name
- Since:
- 1.3
-