Package org.tmatesoft.svn.core.wc
Class SVNOperation
java.lang.Object
org.tmatesoft.svn.core.wc.SVNOperation
public class SVNOperation
extends java.lang.Object
SVNOperation represents the user operation that exposed a conflict.
- Since:
- 1.3
- Version:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SVNOperationMerge operation.private final java.lang.Stringstatic final SVNOperationNone.static final SVNOperationSwitch operation.static final SVNOperationUpdate operation. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SVNOperationfromString(java.lang.String operation) Converts a string operation name to anSVNOperationobject.java.lang.StringgetName()Returns the string representation of this object.java.lang.StringtoString()Returns the string representation of this object.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
UPDATE
Update operation.- Since:
- 1.3
-
SWITCH
Switch operation.- Since:
- 1.3
-
MERGE
Merge operation.- Since:
- 1.3
-
NONE
None.- Since:
- 1.3
-
myName
private final java.lang.String myName
-
-
Constructor Details
-
SVNOperation
private SVNOperation(java.lang.String name)
-
-
Method Details
-
fromString
Converts a string operation name to anSVNOperationobject.- Parameters:
operation-- Returns:
SVNOperationconstant ornull, if noSVNOperationconstant matches the given name- Since:
- 1.3
-
getName
public java.lang.String getName()Returns the string representation of this object.- Returns:
- string representation
- Since:
- 1.3
-
toString
public java.lang.String toString()Returns the string representation of this object.- Overrides:
toStringin classjava.lang.Object- Returns:
- string representation
- Since:
- 1.3
-