public static enum CommonUtils.ProcessType extends Enum<CommonUtils.ProcessType>
Enum Constant and Description |
---|
CLIENT |
JOB_MASTER |
JOB_WORKER |
MASTER |
PROXY |
WORKER |
Modifier and Type | Method and Description |
---|---|
static CommonUtils.ProcessType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommonUtils.ProcessType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommonUtils.ProcessType JOB_MASTER
public static final CommonUtils.ProcessType JOB_WORKER
public static final CommonUtils.ProcessType CLIENT
public static final CommonUtils.ProcessType MASTER
public static final CommonUtils.ProcessType PROXY
public static final CommonUtils.ProcessType WORKER
public static CommonUtils.ProcessType[] values()
for (CommonUtils.ProcessType c : CommonUtils.ProcessType.values()) System.out.println(c);
public static CommonUtils.ProcessType 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 nullCopyright © 2023. All Rights Reserved.