public static enum TaskDefinition.Type extends Enum<TaskDefinition.Type>
Enum Constant and Description |
---|
AT_FIXED_RATE |
SINGLE_RUN |
Modifier and Type | Method and Description |
---|---|
static TaskDefinition.Type |
getById(int id) |
byte |
getId() |
static TaskDefinition.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskDefinition.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskDefinition.Type SINGLE_RUN
public static final TaskDefinition.Type AT_FIXED_RATE
public static TaskDefinition.Type[] values()
for (TaskDefinition.Type c : TaskDefinition.Type.values()) System.out.println(c);
public static TaskDefinition.Type 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 byte getId()
public static TaskDefinition.Type getById(int id)
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.