@ThreadSafe public enum PlanDefinitionRegistry extends java.lang.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(java.lang.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(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 <T extends JobConfig> PlanDefinition<T,java.io.Serializable,java.io.Serializable> getJobDefinition(T jobConfig) throws JobDoesNotExistException
T - the job configuration classjobConfig - the job configurationJobDoesNotExistException - when the job definition does not existCopyright © 2022. All Rights Reserved.