public enum WorkerSizeOptions extends Enum<WorkerSizeOptions>
Enum Constant and Description |
---|
D1
Enum value D1.
|
D2
Enum value D2.
|
D3
Enum value D3.
|
DEFAULT
Enum value Default.
|
LARGE
Enum value Large.
|
MEDIUM
Enum value Medium.
|
SMALL
Enum value Small.
|
Modifier and Type | Method and Description |
---|---|
static WorkerSizeOptions |
fromString(String value)
Parses a serialized value to a WorkerSizeOptions instance.
|
String |
toString() |
static WorkerSizeOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkerSizeOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkerSizeOptions SMALL
public static final WorkerSizeOptions MEDIUM
public static final WorkerSizeOptions LARGE
public static final WorkerSizeOptions D1
public static final WorkerSizeOptions D2
public static final WorkerSizeOptions D3
public static final WorkerSizeOptions DEFAULT
public static WorkerSizeOptions[] values()
for (WorkerSizeOptions c : WorkerSizeOptions.values()) System.out.println(c);
public static WorkerSizeOptions 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 static WorkerSizeOptions fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<WorkerSizeOptions>
Copyright © 2019. All rights reserved.