public static enum StrategyFactory.StrategyFactoryEnum extends Enum<StrategyFactory.StrategyFactoryEnum>
| Enum Constant and Description |
|---|
OBJECT_MESSAGE |
TEXT_MESSAGE |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
String |
value() |
static StrategyFactory.StrategyFactoryEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StrategyFactory.StrategyFactoryEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StrategyFactory.StrategyFactoryEnum TEXT_MESSAGE
public static final StrategyFactory.StrategyFactoryEnum OBJECT_MESSAGE
public static StrategyFactory.StrategyFactoryEnum[] values()
for (StrategyFactory.StrategyFactoryEnum c : StrategyFactory.StrategyFactoryEnum.values()) System.out.println(c);
public static StrategyFactory.StrategyFactoryEnum 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 value()
public String toString()
toString in class Enum<StrategyFactory.StrategyFactoryEnum>Copyright © 2022. All rights reserved.