org.apache.subversion.javahl
Enum ConflictDescriptor.Reason

java.lang.Object
  extended by java.lang.Enum<ConflictDescriptor.Reason>
      extended by org.apache.subversion.javahl.ConflictDescriptor.Reason
All Implemented Interfaces:
Serializable, Comparable<ConflictDescriptor.Reason>
Enclosing class:
ConflictDescriptor

public static enum ConflictDescriptor.Reason
extends Enum<ConflictDescriptor.Reason>

Rich man's enum for svn_wc_conflict_reason_t.


Enum Constant Summary
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
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null