public static enum CommandExecutorCodes.Pan extends Enum<CommandExecutorCodes.Pan>
Enum Constant and Description |
---|
CMD_LINE_PRINT |
COULD_NOT_LOAD_TRANS |
ERROR_LOADING_STEPS_PLUGINS |
ERRORS_DURING_PROCESSING |
KETTLE_VERSION_PRINT |
SUCCESS |
UNABLE_TO_PREP_INIT_TRANS |
UNEXPECTED_ERROR |
Modifier and Type | Method and Description |
---|---|
static CommandExecutorCodes.Pan |
getByCode(int code) |
int |
getCode() |
String |
getDescription() |
static boolean |
isFailedExecution(int code) |
void |
setCode(int code) |
void |
setDescription(String description) |
static CommandExecutorCodes.Pan |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandExecutorCodes.Pan[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandExecutorCodes.Pan SUCCESS
public static final CommandExecutorCodes.Pan ERRORS_DURING_PROCESSING
public static final CommandExecutorCodes.Pan UNEXPECTED_ERROR
public static final CommandExecutorCodes.Pan UNABLE_TO_PREP_INIT_TRANS
public static final CommandExecutorCodes.Pan KETTLE_VERSION_PRINT
public static final CommandExecutorCodes.Pan COULD_NOT_LOAD_TRANS
public static final CommandExecutorCodes.Pan ERROR_LOADING_STEPS_PLUGINS
public static final CommandExecutorCodes.Pan CMD_LINE_PRINT
public static CommandExecutorCodes.Pan[] values()
for (CommandExecutorCodes.Pan c : CommandExecutorCodes.Pan.values()) System.out.println(c);
public static CommandExecutorCodes.Pan 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()
public void setCode(int code)
public String getDescription()
public void setDescription(String description)
public static CommandExecutorCodes.Pan getByCode(int code)
public static boolean isFailedExecution(int code)
Copyright © 2018 Hitachi Vantara. All rights reserved.