public enum DispatchTaskClusterMode extends java.lang.Enum<DispatchTaskClusterMode>
Enum Constant and Description |
---|
ALL_NODES |
NOT_APPLICABLE |
SINGLE_NODE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLabel() |
int |
getMode() |
com.liferay.portal.kernel.scheduler.StorageType |
getStorageType() |
static DispatchTaskClusterMode |
valueOf(int mode) |
static DispatchTaskClusterMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DispatchTaskClusterMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DispatchTaskClusterMode ALL_NODES
public static final DispatchTaskClusterMode NOT_APPLICABLE
public static final DispatchTaskClusterMode SINGLE_NODE
public static DispatchTaskClusterMode[] values()
for (DispatchTaskClusterMode c : DispatchTaskClusterMode.values()) System.out.println(c);
public static DispatchTaskClusterMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static DispatchTaskClusterMode valueOf(int mode)
public java.lang.String getLabel()
public int getMode()
public com.liferay.portal.kernel.scheduler.StorageType getStorageType()