Package org.apache.subversion.javahl
Enum ConflictDescriptor.Reason
- All Implemented Interfaces:
Serializable
,Comparable<ConflictDescriptor.Reason>
,java.lang.constant.Constable
- Enclosing class:
- ConflictDescriptor
public static enum ConflictDescriptor.Reason extends Enum<ConflictDescriptor.Reason>
Rich man's enum for
svn_wc_conflict_reason_t
.-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description added
Object is already added or schedule-add.deleted
Object is already schedule-delete.edited
Local edits are already present.missing
Object is unknown or missing.moved_away
Object is moved away.moved_here
Object is moved here.obstructed
Another object is in the way.replaced
Object is already replaced.unversioned
Object is unversioned. -
Method Summary
Modifier and Type Method Description static ConflictDescriptor.Reason
valueOf(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 Details
-
edited
Local edits are already present. -
obstructed
Another object is in the way. -
deleted
Object is already schedule-delete. -
missing
Object is unknown or missing. -
unversioned
Object is unversioned. -
added
Object is already added or schedule-add.- Since:
- 1.6
-
replaced
Object is already replaced.- Since:
- 1.7
-
moved_away
Object is moved away.- Since:
- 1.8
-
moved_here
Object is moved here.- Since:
- 1.8
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-