public enum ServiceManagingOperation extends java.lang.Enum<ServiceManagingOperation>
| Enum Constant and Description |
|---|
disable |
enable |
restart |
resume |
start |
stop |
suspend |
| Modifier and Type | Method and Description |
|---|---|
static ServiceManagingOperation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ServiceManagingOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceManagingOperation start
public static final ServiceManagingOperation stop
public static final ServiceManagingOperation suspend
public static final ServiceManagingOperation resume
public static final ServiceManagingOperation restart
public static final ServiceManagingOperation enable
public static final ServiceManagingOperation disable
public static ServiceManagingOperation[] values()
for (ServiceManagingOperation c : ServiceManagingOperation.values()) System.out.println(c);
public static ServiceManagingOperation valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null