java.io.Serializable, java.lang.Comparable<ExitStatus>public enum ExitStatus extends java.lang.Enum<ExitStatus>
| Enum Constant | Description |
|---|---|
ALREADY_RUNNING |
|
ILLEGAL_ARGUMENTS |
|
IN_PROGRESS |
|
INTERRUPTED |
|
IO_EXCEPTION |
|
NO_MOVE_BLOCK |
|
NO_MOVE_PROGRESS |
|
SUCCESS |
|
UNFINALIZED_UPGRADE |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getExitCode() |
|
static ExitStatus |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ExitStatus[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExitStatus SUCCESS
public static final ExitStatus IN_PROGRESS
public static final ExitStatus ALREADY_RUNNING
public static final ExitStatus NO_MOVE_BLOCK
public static final ExitStatus NO_MOVE_PROGRESS
public static final ExitStatus IO_EXCEPTION
public static final ExitStatus ILLEGAL_ARGUMENTS
public static final ExitStatus INTERRUPTED
public static final ExitStatus UNFINALIZED_UPGRADE
public static ExitStatus[] values()
for (ExitStatus c : ExitStatus.values()) System.out.println(c);
public static ExitStatus 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()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.