public static enum SecurityPolicyManager.DomainStateError extends java.lang.Enum<SecurityPolicyManager.DomainStateError>
Enum Constant and Description |
---|
DOMAIN_DISABLED
Domain disabled
|
DOMAIN_NOT_EXISTS
Domain not found
|
REGISTRY_IS_EMPTY
Registry is empty
|
REGISTRY_IS_NOT_LOCKED
Registry is not locked
|
Modifier and Type | Field and Description |
---|---|
int |
code
error code
|
java.lang.String |
message
error message
|
Modifier and Type | Method and Description |
---|---|
static SecurityPolicyManager.DomainStateError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SecurityPolicyManager.DomainStateError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecurityPolicyManager.DomainStateError REGISTRY_IS_EMPTY
public static final SecurityPolicyManager.DomainStateError REGISTRY_IS_NOT_LOCKED
public static final SecurityPolicyManager.DomainStateError DOMAIN_NOT_EXISTS
public static final SecurityPolicyManager.DomainStateError DOMAIN_DISABLED
public final int code
public final java.lang.String message
public static SecurityPolicyManager.DomainStateError[] values()
for (SecurityPolicyManager.DomainStateError c : SecurityPolicyManager.DomainStateError.values()) System.out.println(c);
public static SecurityPolicyManager.DomainStateError valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null