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