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