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