public static enum LlapStatusServiceDriver.ExitCode extends Enum<LlapStatusServiceDriver.ExitCode>
Enum Constant and Description |
---|
INCORRECT_USAGE |
INTERNAL_ERROR |
LLAP_JSON_GENERATION_ERROR |
LLAP_REGISTRY_ERROR |
SLIDER_CLIENT_ERROR_CREATE_FAILED |
SLIDER_CLIENT_ERROR_OTHER |
SUCCESS |
YARN_ERROR |
Modifier and Type | Method and Description |
---|---|
int |
getInt() |
static LlapStatusServiceDriver.ExitCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LlapStatusServiceDriver.ExitCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LlapStatusServiceDriver.ExitCode SUCCESS
public static final LlapStatusServiceDriver.ExitCode INCORRECT_USAGE
public static final LlapStatusServiceDriver.ExitCode YARN_ERROR
public static final LlapStatusServiceDriver.ExitCode SLIDER_CLIENT_ERROR_CREATE_FAILED
public static final LlapStatusServiceDriver.ExitCode SLIDER_CLIENT_ERROR_OTHER
public static final LlapStatusServiceDriver.ExitCode LLAP_REGISTRY_ERROR
public static final LlapStatusServiceDriver.ExitCode LLAP_JSON_GENERATION_ERROR
public static final LlapStatusServiceDriver.ExitCode INTERNAL_ERROR
public static LlapStatusServiceDriver.ExitCode[] values()
for (LlapStatusServiceDriver.ExitCode c : LlapStatusServiceDriver.ExitCode.values()) System.out.println(c);
public static LlapStatusServiceDriver.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 getInt()
Copyright © 2021 The Apache Software Foundation. All rights reserved.