Package org.apache.heron.spi.utils
Enum TManagerUtils.TManagerCommand
- java.lang.Object
-
- java.lang.Enum<TManagerUtils.TManagerCommand>
-
- org.apache.heron.spi.utils.TManagerUtils.TManagerCommand
-
- All Implemented Interfaces:
Serializable
,Comparable<TManagerUtils.TManagerCommand>
- Enclosing class:
- TManagerUtils
public static enum TManagerUtils.TManagerCommand extends Enum<TManagerUtils.TManagerCommand>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVATE
DEACTIVATE
RUNTIME_CONFIG_UPDATE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TManagerUtils.TManagerCommand
valueOf(String name)
Returns the enum constant of this type with the specified name.static TManagerUtils.TManagerCommand[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVATE
public static final TManagerUtils.TManagerCommand ACTIVATE
-
DEACTIVATE
public static final TManagerUtils.TManagerCommand DEACTIVATE
-
RUNTIME_CONFIG_UPDATE
public static final TManagerUtils.TManagerCommand RUNTIME_CONFIG_UPDATE
-
-
Method Detail
-
values
public static TManagerUtils.TManagerCommand[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TManagerUtils.TManagerCommand c : TManagerUtils.TManagerCommand.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TManagerUtils.TManagerCommand valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-