public class ExecutionResourceCriteria
extends java.lang.Object
Constructor and Description |
---|
ExecutionResourceCriteria(java.util.List<Criterion> clusterCriteria,
Criterion commandCriterion,
java.util.List<java.lang.String> applicationIds)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getApplicationIds()
Get the ordered list of ids the user desires to override the applications associated with selected command with.
|
java.util.List<Criterion> |
getClusterCriteria()
Get the ordered list of criteria the system should use to find a cluster for job execution.
|
public ExecutionResourceCriteria(java.util.List<Criterion> clusterCriteria, Criterion commandCriterion, @Nullable java.util.List<java.lang.String> applicationIds)
clusterCriteria
- The ordered list of criteria used to find a cluster for job execution. Not null/empty.commandCriterion
- The command criterion used to find a command to run on the cluster for job execution.
Not null.applicationIds
- The ordered list of application ids to override the applications associated with
selected command for job execution. Optional. Any blanks will be removedpublic java.util.List<Criterion> getClusterCriteria()
public java.util.List<java.lang.String> getApplicationIds()