public static enum RunCommand.ErrorCode extends Enum<RunCommand.ErrorCode>
| Enum Constant and Description |
|---|
UNABLE_TO_CONNECT |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
static RunCommand.ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RunCommand.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RunCommand.ErrorCode UNABLE_TO_CONNECT
public static RunCommand.ErrorCode[] values()
for (RunCommand.ErrorCode c : RunCommand.ErrorCode.values()) System.out.println(c);
public static RunCommand.ErrorCode 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 String getCode()
Copyright © 2018. All rights reserved.