Package org.apache.subversion.javahl
Enum ConflictDescriptor.Reason
- java.lang.Object
-
- java.lang.Enum<ConflictDescriptor.Reason>
-
- org.apache.subversion.javahl.ConflictDescriptor.Reason
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ConflictDescriptor.Reason>
- Enclosing class:
- ConflictDescriptor
public static enum ConflictDescriptor.Reason extends java.lang.Enum<ConflictDescriptor.Reason>
Rich man's enum forsvn_wc_conflict_reason_t.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description addedObject is already added or schedule-add.deletedObject is already schedule-delete.editedLocal edits are already present.missingObject is unknown or missing.moved_awayObject is moved away.moved_hereObject is moved here.obstructedAnother object is in the way.replacedObject is already replaced.unversionedObject is unversioned.
-
Constructor Summary
Constructors Modifier Constructor Description privateReason()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConflictDescriptor.ReasonvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ConflictDescriptor.Reason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
edited
public static final ConflictDescriptor.Reason edited
Local edits are already present.
-
obstructed
public static final ConflictDescriptor.Reason obstructed
Another object is in the way.
-
deleted
public static final ConflictDescriptor.Reason deleted
Object is already schedule-delete.
-
missing
public static final ConflictDescriptor.Reason missing
Object is unknown or missing.
-
unversioned
public static final ConflictDescriptor.Reason unversioned
Object is unversioned.
-
added
public static final ConflictDescriptor.Reason added
Object is already added or schedule-add.- Since:
- 1.6
-
replaced
public static final ConflictDescriptor.Reason replaced
Object is already replaced.- Since:
- 1.7
-
moved_away
public static final ConflictDescriptor.Reason moved_away
Object is moved away.- Since:
- 1.8
-
moved_here
public static final ConflictDescriptor.Reason moved_here
Object is moved here.- Since:
- 1.8
-
-
Method Detail
-
values
public static ConflictDescriptor.Reason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ConflictDescriptor.Reason c : ConflictDescriptor.Reason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConflictDescriptor.Reason valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-