Package com.netflix.genie.web.selectors
Class ResourceSelectionContext<R>
java.lang.Object
com.netflix.genie.web.selectors.ResourceSelectionContext<R>
- Type Parameters:
R
- The type of resource this context is meant to help select
- Direct Known Subclasses:
AgentLauncherSelectionContext
,ClusterSelectionContext
,CommandSelectionContext
Context object for encapsulating state into the selectors.
- Since:
- 4.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn theSet
of distinct resources that a selector is meant to chose from.
-
Constructor Details
-
ResourceSelectionContext
public ResourceSelectionContext()
-
-
Method Details
-
getResources
Return theSet
of distinct resources that a selector is meant to chose from.- Returns:
- The resources
-