Package org.tmatesoft.svn.core.wc
Class SVNConflictAction
java.lang.Object
org.tmatesoft.svn.core.wc.SVNConflictAction
The 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
FieldsModifier and TypeFieldDescriptionstatic final SVNConflictAction
Constant representing an attempt to add an object.static final SVNConflictAction
Constant representing an attempt to delete an object.static final SVNConflictAction
Constant representing an attempt to change text or props.static final SVNConflictAction
Constant representing an attempt to replace an object. -
Method Summary
Modifier and TypeMethodDescriptionstatic SVNConflictAction
fromString
(String action) Converts string to anSVNConflictAction
object when possible.getName()
Returns the string representation of this action.toString()
Returns the string representation of this action.
-
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.
-
-
Method Details
-
fromString
Converts string to anSVNConflictAction
object when possible.- Parameters:
action
- action name- Returns:
SVNConflictAction
object whichgetName()
equals toaction
;null
in caseaction
matches noSVNConflictAction
constant- Since:
- 1.3
-
getName
Returns the string representation of this action.- Returns:
- string representation
- Since:
- 1.3
-
toString
Returns the string representation of this action.
-