public class AgentLauncherSelectionContext extends ResourceSelectionContext<AgentLauncher>
ResourceSelectionContext
to include specific data useful in AgentLauncher selection.Constructor and Description |
---|
AgentLauncherSelectionContext(@NotBlank java.lang.String jobId,
JobRequest jobRequest,
JobRequestMetadata jobRequestMetadata,
ResolvedJob resolvedJob,
java.util.Collection<AgentLauncher> agentLaunchers)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<AgentLauncher> |
getResources()
Return the
Set of distinct resources that a selector is meant to chose from. |
public AgentLauncherSelectionContext(@NotBlank @NotBlank java.lang.String jobId, JobRequest jobRequest, JobRequestMetadata jobRequestMetadata, ResolvedJob resolvedJob, java.util.Collection<AgentLauncher> agentLaunchers)
jobId
- the job idjobRequest
- the job requestjobRequestMetadata
- the job request metadataresolvedJob
- the resolved job detailsagentLaunchers
- the list of available launcherspublic java.util.Set<AgentLauncher> getResources()
Set
of distinct resources that a selector is meant to chose from.getResources
in class ResourceSelectionContext<AgentLauncher>