java.io.Serializable, java.lang.Comparable<ContainerExecutor.ExitCode>public static enum ContainerExecutor.ExitCode extends java.lang.Enum<ContainerExecutor.ExitCode>
| Enum Constant | Description |
|---|---|
FORCE_KILLED |
|
LOST |
|
SUCCESS |
|
TERMINATED |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getExitCode() |
Get the exit code as an int.
|
java.lang.String |
toString() |
|
static ContainerExecutor.ExitCode |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ContainerExecutor.ExitCode[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContainerExecutor.ExitCode SUCCESS
public static final ContainerExecutor.ExitCode FORCE_KILLED
public static final ContainerExecutor.ExitCode TERMINATED
public static final ContainerExecutor.ExitCode LOST
public static ContainerExecutor.ExitCode[] values()
for (ContainerExecutor.ExitCode c : ContainerExecutor.ExitCode.values()) System.out.println(c);
public static ContainerExecutor.ExitCode 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 nullpublic int getExitCode()
public java.lang.String toString()
toString in class java.lang.Enum<ContainerExecutor.ExitCode>Copyright © 2008–2025 Apache Software Foundation. All rights reserved.