Package org.killbill.billing.util.nodes
Enum SystemNodeCommandType
- java.lang.Object
-
- java.lang.Enum<SystemNodeCommandType>
-
- org.killbill.billing.util.nodes.SystemNodeCommandType
-
- All Implemented Interfaces:
Serializable,Comparable<SystemNodeCommandType>
public enum SystemNodeCommandType extends Enum<SystemNodeCommandType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTALL_PLUGINRESTART_PLUGINSTART_PLUGINSTOP_PLUGINUNINSTALL_PLUGIN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends NodeCommandMetadata>getCommandMetadataClass()static SystemNodeCommandTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SystemNodeCommandType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTALL_PLUGIN
public static final SystemNodeCommandType INSTALL_PLUGIN
-
UNINSTALL_PLUGIN
public static final SystemNodeCommandType UNINSTALL_PLUGIN
-
START_PLUGIN
public static final SystemNodeCommandType START_PLUGIN
-
STOP_PLUGIN
public static final SystemNodeCommandType STOP_PLUGIN
-
RESTART_PLUGIN
public static final SystemNodeCommandType RESTART_PLUGIN
-
-
Method Detail
-
values
public static SystemNodeCommandType[] 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 (SystemNodeCommandType c : SystemNodeCommandType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SystemNodeCommandType 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
-
getCommandMetadataClass
public Class<? extends NodeCommandMetadata> getCommandMetadataClass()
-
-