S - itself.public interface ScopeType<S extends ScopeType<S>>
GLOBAL -> INSTANCE --> JOB --> TASK
\-> CONTAINER -/
Where global represents multiple separate instances or even other applications, the instance creates containers
and process jobs, and each task of a job is run in a container. As seen in the graph, instance is a child of
global, job and container are children of instance, and task is a child of both job and container.| Modifier and Type | Method and Description |
|---|---|
ScopeInstance<S> |
defaultScopeInstance() |
boolean |
isLocal() |
String |
name()
The name of this
ScopeType. |
Collection<S> |
parentScopes() |
S |
rootScope() |
boolean isLocal()
@Nullable Collection<S> parentScopes()
@Nullable ScopeInstance<S> defaultScopeInstance()
ScopeInstance for this ScopeType, or null if no such default exists.