public static enum PolicyCommand.PolicyOptions extends Enum<PolicyCommand.PolicyOptions>
Modifier and Type | Method and Description |
---|---|
boolean |
equalsOptionName(String otherName) |
static PolicyCommand.PolicyOptions |
fromName(String name) |
String |
getOptionName() |
static List<String> |
toList() |
static PolicyCommand.PolicyOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PolicyCommand.PolicyOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PolicyCommand.PolicyOptions HELP
public static final PolicyCommand.PolicyOptions DETAILS
public static final PolicyCommand.PolicyOptions LIST
public static final PolicyCommand.PolicyOptions READ
public static final PolicyCommand.PolicyOptions DELETE
public static PolicyCommand.PolicyOptions[] values()
for (PolicyCommand.PolicyOptions c : PolicyCommand.PolicyOptions.values()) System.out.println(c);
public static PolicyCommand.PolicyOptions 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 String getOptionName()
public boolean equalsOptionName(String otherName)
public static PolicyCommand.PolicyOptions fromName(String name)
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.