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 SVNOperation
Merge operation.private final java.lang.String
static final SVNOperation
None.static final SVNOperation
Switch operation.static final SVNOperation
Update operation. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SVNOperation
fromString
(java.lang.String operation) Converts a string operation name to anSVNOperation
object.java.lang.String
getName()
Returns the string representation of this object.java.lang.String
toString()
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 anSVNOperation
object.- Parameters:
operation
-- Returns:
SVNOperation
constant ornull
, if noSVNOperation
constant 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:
toString
in classjava.lang.Object
- Returns:
- string representation
- Since:
- 1.3
-