public enum EncryptionState extends Enum<EncryptionState>
Enum Constant and Description |
---|
DISABLED
Enum value Disabled.
|
ENABLED
Enum value Enabled.
|
Modifier and Type | Method and Description |
---|---|
static EncryptionState |
fromString(String value)
Parses a serialized value to a EncryptionState instance.
|
String |
toString() |
static EncryptionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncryptionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncryptionState ENABLED
public static final EncryptionState DISABLED
public static EncryptionState[] values()
for (EncryptionState c : EncryptionState.values()) System.out.println(c);
public static EncryptionState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static EncryptionState fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<EncryptionState>
Copyright © 2019. All rights reserved.