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