public enum Resource extends Enum<Resource>
Enum Constant and Description |
---|
KEY_CHANGE |
NEW_AUTHZ |
NEW_CERT |
NEW_REG |
REVOKE_CERT |
Modifier and Type | Method and Description |
---|---|
String |
path()
Returns the resource path.
|
static Resource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Resource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Resource KEY_CHANGE
public static final Resource REVOKE_CERT
public static Resource[] values()
for (Resource c : Resource.values()) System.out.println(c);
public static Resource 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 nullCopyright © 2015–2019. All rights reserved.