Enum SyncResult.Operation
- java.lang.Object
-
- java.lang.Enum<SyncResult.Operation>
-
- org.apache.jackrabbit.vault.sync.impl.SyncResult.Operation
-
- All Implemented Interfaces:
Serializable
,Comparable<SyncResult.Operation>
- Enclosing class:
- SyncResult
public static enum SyncResult.Operation extends Enum<SyncResult.Operation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELETE_FS
DELETE_JCR
UPDATE_FS
UPDATE_JCR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SyncResult.Operation
valueOf(String name)
Returns the enum constant of this type with the specified name.static SyncResult.Operation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UPDATE_FS
public static final SyncResult.Operation UPDATE_FS
-
UPDATE_JCR
public static final SyncResult.Operation UPDATE_JCR
-
DELETE_FS
public static final SyncResult.Operation DELETE_FS
-
DELETE_JCR
public static final SyncResult.Operation DELETE_JCR
-
-
Method Detail
-
values
public static SyncResult.Operation[] 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 (SyncResult.Operation c : SyncResult.Operation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SyncResult.Operation 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 nameNullPointerException
- if the argument is null
-
-