public static enum Feature.Name extends Enum<Feature.Name>
| Enum Constant and Description |
|---|
PAYMENT_PROCESSOR_API_ENABLED |
| Modifier and Type | Method and Description |
|---|---|
static Optional<Feature.Name> |
fromKey(String key) |
static Feature.Name |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Feature.Name[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Feature.Name PAYMENT_PROCESSOR_API_ENABLED
public static Feature.Name[] values()
for (Feature.Name c : Feature.Name.values()) System.out.println(c);
public static Feature.Name 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 static Optional<Feature.Name> fromKey(String key)
Copyright © 2023. All rights reserved.