public enum StopMode extends Enum<StopMode>
| Enum Constant and Description |
|---|
graceful
Would wait for the process to terminate correctly
|
kill
Would terminate the process with a sigkill
|
| Modifier and Type | Method and Description |
|---|---|
static StopMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StopMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StopMode graceful
public static final StopMode kill
public static StopMode[] values()
for (StopMode c : StopMode.values()) System.out.println(c);
public static StopMode 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 © 2020. All rights reserved.