Interface JobCommonFieldsProjection
- All Superinterfaces:
AuditProjection,BaseProjection,IdProjection,UniqueIdProjection
- All Known Subinterfaces:
JobProjection
- All Known Implementing Classes:
JobEntity
Projection for common fields between pre 3.3.0 JobRequest and Job entities.
- Since:
- 3.3.0
-
Method Summary
Modifier and TypeMethodDescriptionGet the command arguments for this job.Get the grouping this job is a part of.Get the instance identifier of a grouping.getTags()Get the tags for the job.Methods inherited from interface com.netflix.genie.web.data.services.impl.jpa.queries.projections.AuditProjection
getCreated, getUpdatedMethods inherited from interface com.netflix.genie.web.data.services.impl.jpa.queries.projections.BaseProjection
getDescription, getMetadata, getName, getStatus, getUser, getVersionMethods inherited from interface com.netflix.genie.web.data.services.impl.jpa.queries.projections.IdProjection
getIdMethods inherited from interface com.netflix.genie.web.data.services.impl.jpa.queries.projections.UniqueIdProjection
getUniqueId
-
Method Details
-
getCommandArgs
Get the command arguments for this job.- Returns:
- The command arguments
-
getTags
Get the tags for the job.- Returns:
- Any tags that were sent in when job was originally requested
-
getGrouping
Get the grouping this job is a part of. e.g. scheduler job name for job run many times- Returns:
- The grouping
-
getGroupingInstance
Get the instance identifier of a grouping. e.g. the run id of a given scheduled job- Returns:
- The grouping instance
-