Package org.tmatesoft.svn.core.wc
Class SVNConflictAction
- java.lang.Object
-
- org.tmatesoft.svn.core.wc.SVNConflictAction
-
public class SVNConflictAction extends java.lang.ObjectThe SVNConflictAction represents the type of action being attempted on an object which leads to a conflict.- Since:
- 1.2
- Version:
- 1.3
- Author:
- TMate Software Ltd.
-
-
Field Summary
Fields Modifier and Type Field Description static SVNConflictActionADDConstant representing an attempt to add an object.static SVNConflictActionDELETEConstant representing an attempt to delete an object.static SVNConflictActionEDITConstant representing an attempt to change text or props.static SVNConflictActionREPLACEConstant representing an attempt to replace an object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static 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.
-
-
-
Field Detail
-
EDIT
public static final SVNConflictAction EDIT
Constant representing an attempt to change text or props.
-
ADD
public static final SVNConflictAction ADD
Constant representing an attempt to add an object.
-
DELETE
public static final SVNConflictAction DELETE
Constant representing an attempt to delete an object.
-
REPLACE
public static final SVNConflictAction REPLACE
Constant representing an attempt to replace an object.
-
-
Method Detail
-
fromString
public static SVNConflictAction fromString(java.lang.String action)
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
-
-