public static enum CommandExecutorCodes.Kitchen extends Enum<CommandExecutorCodes.Kitchen>
| 枚举常量和说明 |
|---|
CMD_LINE_PRINT |
COULD_NOT_LOAD_JOB |
ERROR_LOADING_STEPS_PLUGINS |
ERRORS_DURING_PROCESSING |
KETTLE_VERSION_PRINT |
SUCCESS |
UNEXPECTED_ERROR |
| 限定符和类型 | 方法和说明 |
|---|---|
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)
返回带有指定名称的该类型的枚举常量。
|
static CommandExecutorCodes.Kitchen[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public int getCode()
public void setCode(int code)
public String getDescription()
public void setDescription(String description)
public static CommandExecutorCodes.Kitchen getByCode(int code)
public static boolean isFailedExecution(int code)
Copyright © 2024 Hitachi Vantara. All rights reserved.