public static enum ContainerExecutor.ExitCode extends Enum<ContainerExecutor.ExitCode>
| Enum Constant and Description | 
|---|
| FORCE_KILLED | 
| LOST | 
| SUCCESS | 
| TERMINATED | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getExitCode()Get the exit code as an int. | 
| String | toString() | 
| static ContainerExecutor.ExitCode | valueOf(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(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 nullpublic int getExitCode()
public String toString()
toString in class Enum<ContainerExecutor.ExitCode>Copyright © 2008–2023 Apache Software Foundation. All rights reserved.