public static enum Main.Result extends Enum<Main.Result>
Modifier and Type | Field and Description |
---|---|
int |
exitCode |
Modifier and Type | Method and Description |
---|---|
boolean |
isOK() |
static Main.Result |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Main.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Main.Result OK
public static final Main.Result ERROR
public static final Main.Result CMDERR
public static final Main.Result SYSERR
public static final Main.Result ABNORMAL
public static Main.Result[] values()
for (Main.Result c : Main.Result.values()) System.out.println(c);
public static Main.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 boolean isOK()
Copyright © 2015. All rights reserved.