public enum RoleCommand extends Enum<RoleCommand>
Enum Constant and Description |
---|
ABORT |
ACTIONEXECUTE
Represents any action
|
CUSTOM_COMMAND
Represents any custom command
|
EXECUTE |
INSTALL |
RESTART |
SERVICE_CHECK |
START |
STOP |
UNINSTALL |
UPGRADE |
Modifier and Type | Method and Description |
---|---|
static RoleCommand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoleCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoleCommand INSTALL
public static final RoleCommand UNINSTALL
public static final RoleCommand START
public static final RoleCommand RESTART
public static final RoleCommand STOP
public static final RoleCommand EXECUTE
public static final RoleCommand ABORT
public static final RoleCommand UPGRADE
public static final RoleCommand SERVICE_CHECK
public static final RoleCommand CUSTOM_COMMAND
public static final RoleCommand ACTIONEXECUTE
public static RoleCommand[] values()
for (RoleCommand c : RoleCommand.values()) System.out.println(c);
public static RoleCommand 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 nullCopyright © 2022 Apache Software Foundation. All rights reserved.