public enum GobblinScopeTypes extends Enum<GobblinScopeTypes> implements ScopeType<GobblinScopeTypes>
| Enum Constant and Description |
|---|
CONTAINER |
GLOBAL |
INSTANCE |
JOB |
MULTI_TASK_ATTEMPT |
TASK |
| Modifier and Type | Method and Description |
|---|---|
ScopeInstance<GobblinScopeTypes> |
defaultScopeInstance() |
boolean |
isLocal() |
Collection<GobblinScopeTypes> |
parentScopes() |
GobblinScopeTypes |
rootScope() |
static GobblinScopeTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GobblinScopeTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GobblinScopeTypes GLOBAL
public static final GobblinScopeTypes INSTANCE
public static final GobblinScopeTypes JOB
public static final GobblinScopeTypes CONTAINER
public static final GobblinScopeTypes MULTI_TASK_ATTEMPT
public static final GobblinScopeTypes TASK
public static GobblinScopeTypes[] values()
for (GobblinScopeTypes c : GobblinScopeTypes.values()) System.out.println(c);
public static GobblinScopeTypes 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 boolean isLocal()
isLocal in interface ScopeType<GobblinScopeTypes>public Collection<GobblinScopeTypes> parentScopes()
parentScopes in interface ScopeType<GobblinScopeTypes>@Nullable public ScopeInstance<GobblinScopeTypes> defaultScopeInstance()
defaultScopeInstance in interface ScopeType<GobblinScopeTypes>ScopeInstance for this ScopeType, or null if no such default exists.public GobblinScopeTypes rootScope()
rootScope in interface ScopeType<GobblinScopeTypes>ScopeType in the DAG.