public enum JobOptEnum extends Enum<JobOptEnum>
| Enum Constant and Description |
|---|
ADD
新增
|
DEL
删除
|
PAUSE
暂停
|
RESUME
启动
|
UPDATE
更新
|
| Modifier and Type | Field and Description |
|---|---|
private String |
code |
private String |
name |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
String |
getName() |
static JobOptEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobOptEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobOptEnum ADD
public static final JobOptEnum UPDATE
public static final JobOptEnum DEL
public static final JobOptEnum RESUME
public static final JobOptEnum PAUSE
public static JobOptEnum[] values()
for (JobOptEnum c : JobOptEnum.values()) System.out.println(c);
public static JobOptEnum 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 String getCode()
public String getName()
Copyright © 2024. All rights reserved.