public enum Strategy extends Enum<Strategy>
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName() |
String |
getSettingValue() |
boolean |
isStrategy(Class<?> strategyClass) |
static Strategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Strategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Strategy DEFAULT
public static final Strategy VALIDITY
public static Strategy[] values()
for (Strategy c : Strategy.values()) System.out.println(c);
public static Strategy 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 getDisplayName()
public String getSettingValue()
public boolean isStrategy(Class<?> strategyClass)
Copyright © 2001-2019 Red Hat, Inc. All Rights Reserved.