Package org.pentaho.di.base
Enum CommandExecutorCodes.Kitchen
- java.lang.Object
-
- java.lang.Enum<CommandExecutorCodes.Kitchen>
-
- org.pentaho.di.base.CommandExecutorCodes.Kitchen
-
- All Implemented Interfaces:
Serializable
,Comparable<CommandExecutorCodes.Kitchen>
- Enclosing class:
- CommandExecutorCodes
public static enum CommandExecutorCodes.Kitchen extends Enum<CommandExecutorCodes.Kitchen>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CMD_LINE_PRINT
COULD_NOT_LOAD_JOB
ERROR_LOADING_STEPS_PLUGINS
ERRORS_DURING_PROCESSING
KETTLE_VERSION_PRINT
SUCCESS
UNEXPECTED_ERROR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CommandExecutorCodes.Kitchen
getByCode(int code)
int
getCode()
String
getDescription()
static boolean
isFailedExecution(int code)
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.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final CommandExecutorCodes.Kitchen SUCCESS
-
ERRORS_DURING_PROCESSING
public static final CommandExecutorCodes.Kitchen ERRORS_DURING_PROCESSING
-
UNEXPECTED_ERROR
public static final CommandExecutorCodes.Kitchen UNEXPECTED_ERROR
-
KETTLE_VERSION_PRINT
public static final CommandExecutorCodes.Kitchen KETTLE_VERSION_PRINT
-
COULD_NOT_LOAD_JOB
public static final CommandExecutorCodes.Kitchen COULD_NOT_LOAD_JOB
-
ERROR_LOADING_STEPS_PLUGINS
public static final CommandExecutorCodes.Kitchen ERROR_LOADING_STEPS_PLUGINS
-
CMD_LINE_PRINT
public static final CommandExecutorCodes.Kitchen CMD_LINE_PRINT
-
-
Method Detail
-
values
public static CommandExecutorCodes.Kitchen[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CommandExecutorCodes.Kitchen c : CommandExecutorCodes.Kitchen.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CommandExecutorCodes.Kitchen valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getCode
public int getCode()
-
setCode
public void setCode(int code)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getByCode
public static CommandExecutorCodes.Kitchen getByCode(int code)
-
isFailedExecution
public static boolean isFailedExecution(int code)
-
-