public static enum KillService.KillSource extends java.lang.Enum<KillService.KillSource>
Enum Constant and Description |
---|
API_KILL_REQUEST
A request to the server, forwarded to the agent.
|
SYSTEM_SIGNAL
A system signal (SIGINT), for example user ctrl-c or system shutdown.
|
TIMEOUT
The job has exceeded its max execution duration.
|
Modifier and Type | Method and Description |
---|---|
static KillService.KillSource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KillService.KillSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KillService.KillSource SYSTEM_SIGNAL
public static final KillService.KillSource API_KILL_REQUEST
public static final KillService.KillSource TIMEOUT
public static KillService.KillSource[] values()
for (KillService.KillSource c : KillService.KillSource.values()) System.out.println(c);
public static KillService.KillSource 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