public static enum TaskManagerRunner.Result extends Enum<TaskManagerRunner.Result>
Modifier and Type | Method and Description |
---|---|
int |
getExitCode() |
static TaskManagerRunner.Result |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskManagerRunner.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskManagerRunner.Result SUCCESS
public static final TaskManagerRunner.Result FAILURE
public static TaskManagerRunner.Result[] values()
for (TaskManagerRunner.Result c : TaskManagerRunner.Result.values()) System.out.println(c);
public static TaskManagerRunner.Result 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()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.