@ThreadSafe public enum PlanDefinitionRegistry extends Enum<PlanDefinitionRegistry>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
<T extends JobConfig> |
getJobDefinition(T jobConfig)
Gets the job definition from the job configuration.
|
static PlanDefinitionRegistry |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlanDefinitionRegistry[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlanDefinitionRegistry INSTANCE
public static PlanDefinitionRegistry[] values()
for (PlanDefinitionRegistry c : PlanDefinitionRegistry.values()) System.out.println(c);
public static PlanDefinitionRegistry 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 <T extends JobConfig> PlanDefinition<T,Serializable,Serializable> getJobDefinition(T jobConfig) throws JobDoesNotExistException
T
- the job configuration classjobConfig
- the job configurationJobDoesNotExistException
- when the job definition does not existCopyright © 2023. All Rights Reserved.