Package org.apache.subversion.javahl
Enum ClientNotifyInformation.LockStatus
- java.lang.Object
-
- java.lang.Enum<ClientNotifyInformation.LockStatus>
-
- org.apache.subversion.javahl.ClientNotifyInformation.LockStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ClientNotifyInformation.LockStatus>
- Enclosing class:
- ClientNotifyInformation
public static enum ClientNotifyInformation.LockStatus extends java.lang.Enum<ClientNotifyInformation.LockStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description inapplicable
does not make sense for this operationlocked
the item was lockedunchanged
the lock change did not changeunknown
unknown lock stateunlocked
the item was unlocked
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
description
The description of the action.
-
Constructor Summary
Constructors Modifier Constructor Description private
LockStatus(java.lang.String description)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
static ClientNotifyInformation.LockStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ClientNotifyInformation.LockStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
inapplicable
public static final ClientNotifyInformation.LockStatus inapplicable
does not make sense for this operation
-
unknown
public static final ClientNotifyInformation.LockStatus unknown
unknown lock state
-
unchanged
public static final ClientNotifyInformation.LockStatus unchanged
the lock change did not change
-
locked
public static final ClientNotifyInformation.LockStatus locked
the item was locked
-
unlocked
public static final ClientNotifyInformation.LockStatus unlocked
the item was unlocked
-
-
Method Detail
-
values
public static ClientNotifyInformation.LockStatus[] 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 (ClientNotifyInformation.LockStatus c : ClientNotifyInformation.LockStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClientNotifyInformation.LockStatus 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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<ClientNotifyInformation.LockStatus>
-
-