Enum KeyloadResult
- java.lang.Object
-
- java.lang.Enum<KeyloadResult>
-
- org.iqtig.packer.shared.keyio.output.KeyloadResult
-
- All Implemented Interfaces:
Serializable
,Comparable<KeyloadResult>
public enum KeyloadResult extends Enum<KeyloadResult>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALIAS_OR_EMPTY_KEYSTORE_PW_WRONG
ERROR
INVALID_KEY
INVALID_KEYSTORE
IO_ERROR
KEYENTRY_NOT_FOUND
KEYENTRY_PASSWORD_WRONG
KEYSTORE_PASSWORD_WRONG
OK
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KeyloadResult
valueOf(String name)
Returns the enum constant of this type with the specified name.static KeyloadResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OK
public static final KeyloadResult OK
-
IO_ERROR
public static final KeyloadResult IO_ERROR
-
INVALID_KEY
public static final KeyloadResult INVALID_KEY
-
INVALID_KEYSTORE
public static final KeyloadResult INVALID_KEYSTORE
-
KEYSTORE_PASSWORD_WRONG
public static final KeyloadResult KEYSTORE_PASSWORD_WRONG
-
KEYENTRY_NOT_FOUND
public static final KeyloadResult KEYENTRY_NOT_FOUND
-
ALIAS_OR_EMPTY_KEYSTORE_PW_WRONG
public static final KeyloadResult ALIAS_OR_EMPTY_KEYSTORE_PW_WRONG
-
KEYENTRY_PASSWORD_WRONG
public static final KeyloadResult KEYENTRY_PASSWORD_WRONG
-
ERROR
public static final KeyloadResult ERROR
-
-
Method Detail
-
values
public static KeyloadResult[] 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 (KeyloadResult c : KeyloadResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KeyloadResult 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
-
-