public static enum Ruleset.PolicyEnum extends Enum<Ruleset.PolicyEnum>
Enum Constant and Description |
---|
A
The A option of this Ruleset
|
O
The O option of this Ruleset
|
Modifier and Type | Method and Description |
---|---|
static Ruleset.PolicyEnum |
fromValue(String value)
Get the enum value from a String value
|
String |
getValue()
Get the value of the enum
|
String |
toString()
Get the String value of the enum value.
|
static Ruleset.PolicyEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Ruleset.PolicyEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Ruleset.PolicyEnum A
public static final Ruleset.PolicyEnum O
public static Ruleset.PolicyEnum[] values()
for (Ruleset.PolicyEnum c : Ruleset.PolicyEnum.values()) System.out.println(c);
public static Ruleset.PolicyEnum 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 null@Nonnull public String toString()
toString
in class Enum<Ruleset.PolicyEnum>
@Nonnull public static Ruleset.PolicyEnum fromValue(@Nonnull String value)
value
- The Strin valueCopyright © 2021 SAP SE. All rights reserved.