Package org.syncany.operations.cleanup
Enum CleanupOperationResult.CleanupResultCode
- java.lang.Object
-
- java.lang.Enum<CleanupOperationResult.CleanupResultCode>
-
- org.syncany.operations.cleanup.CleanupOperationResult.CleanupResultCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CleanupOperationResult.CleanupResultCode>
- Enclosing class:
- CleanupOperationResult
public static enum CleanupOperationResult.CleanupResultCode extends java.lang.Enum<CleanupOperationResult.CleanupResultCode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NOK_DIRTY_LOCAL
NOK_LOCAL_CHANGES
NOK_OTHER_OPERATIONS_RUNNING
NOK_RECENTLY_CLEANED
NOK_REMOTE_CHANGES
NOK_REPO_BLOCKED
OK
OK_NOTHING_DONE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CleanupOperationResult.CleanupResultCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CleanupOperationResult.CleanupResultCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OK
public static final CleanupOperationResult.CleanupResultCode OK
-
OK_NOTHING_DONE
public static final CleanupOperationResult.CleanupResultCode OK_NOTHING_DONE
-
NOK_REMOTE_CHANGES
public static final CleanupOperationResult.CleanupResultCode NOK_REMOTE_CHANGES
-
NOK_RECENTLY_CLEANED
public static final CleanupOperationResult.CleanupResultCode NOK_RECENTLY_CLEANED
-
NOK_LOCAL_CHANGES
public static final CleanupOperationResult.CleanupResultCode NOK_LOCAL_CHANGES
-
NOK_DIRTY_LOCAL
public static final CleanupOperationResult.CleanupResultCode NOK_DIRTY_LOCAL
-
NOK_OTHER_OPERATIONS_RUNNING
public static final CleanupOperationResult.CleanupResultCode NOK_OTHER_OPERATIONS_RUNNING
-
NOK_REPO_BLOCKED
public static final CleanupOperationResult.CleanupResultCode NOK_REPO_BLOCKED
-
-
Method Detail
-
values
public static CleanupOperationResult.CleanupResultCode[] 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 (CleanupOperationResult.CleanupResultCode c : CleanupOperationResult.CleanupResultCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CleanupOperationResult.CleanupResultCode 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
-
-