public enum ExitStatus extends Enum<ExitStatus>
| Enum Constant and Description | 
|---|
| ALREADY_RUNNING | 
| ILLEGAL_ARGUMENTS | 
| IN_PROGRESS | 
| INTERRUPTED | 
| IO_EXCEPTION | 
| NO_MOVE_BLOCK | 
| NO_MOVE_PROGRESS | 
| SUCCESS | 
| UNFINALIZED_UPGRADE | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getExitCode() | 
| static ExitStatus | valueOf(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(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 © 2022 Apache Software Foundation. All rights reserved.