Package org.tmatesoft.svn.core.wc
Class SVNConflictAction
java.lang.Object
org.tmatesoft.svn.core.wc.SVNConflictAction
public class SVNConflictAction
extends java.lang.Object
The SVNConflictAction represents the type of action being attempted on an object which leads to
a conflict.
- Since:
- 1.2
- Version:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SVNConflictActionConstant representing an attempt to add an object.static final SVNConflictActionConstant representing an attempt to delete an object.static final SVNConflictActionConstant representing an attempt to change text or props.private final java.lang.Stringstatic final SVNConflictActionConstant representing an attempt to replace an object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SVNConflictActionfromString(java.lang.String action) Converts string to anSVNConflictActionobject when possible.java.lang.StringgetName()Returns the string representation of this action.java.lang.StringtoString()Returns the string representation of this action.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
EDIT
Constant representing an attempt to change text or props. -
ADD
Constant representing an attempt to add an object. -
DELETE
Constant representing an attempt to delete an object. -
REPLACE
Constant representing an attempt to replace an object. -
myName
private final java.lang.String myName
-
-
Constructor Details
-
SVNConflictAction
private SVNConflictAction(java.lang.String name)
-
-
Method Details
-
fromString
Converts string to anSVNConflictActionobject when possible.- Parameters:
action- action name- Returns:
SVNConflictActionobject whichgetName()equals toaction;nullin caseactionmatches noSVNConflictActionconstant- Since:
- 1.3
-
getName
public java.lang.String getName()Returns the string representation of this action.- Returns:
- string representation
- Since:
- 1.3
-
toString
public java.lang.String toString()Returns the string representation of this action.- Overrides:
toStringin classjava.lang.Object- Returns:
- string representation
- Since:
- 1.3
-