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