Class Criterion
java.lang.Object
com.netflix.genie.common.internal.dtos.Criterion
- All Implemented Interfaces:
- Serializable
Representation of various criterion options available. Used for determining which cluster and command are used to
 execute a job.
- Since:
- 4.0.0
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classBuilder for creating a Criterion instance.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetId()Get the id of the resource desired if it exists.getName()Get the name of the resource desired if it exists.Get the desired status of the resource if it has been set by the creator.getTags()Get the set of tags the creator desires the resource to have if any were set.Get the version of the resource desired if it exists.
- 
Constructor Details
- 
Method Details- 
getIdGet the id of the resource desired if it exists.- Returns:
- Optionalwrapping the id
 
- 
getNameGet the name of the resource desired if it exists.- Returns:
- Optionalwrapping the name
 
- 
getVersionGet the version of the resource desired if it exists.- Returns:
- Optionalwrapping the version
 
- 
getStatusGet the desired status of the resource if it has been set by the creator.- Returns:
- Optionalwrapping the status
 
- 
getTagsGet the set of tags the creator desires the resource to have if any were set.- Returns:
- An immutable set of strings. Any attempt at modification will throw an exception.
 
 
-