Interface JobSearchProjection
- All Superinterfaces:
StatusProjection
- All Known Implementing Classes:
JobEntity
Projection to return only the fields desired for a job with search results.
- Since:
- 3.3.0
-
Method Summary
Modifier and TypeMethodDescriptionGet the name of the cluster that is running or did run this job.Get the name of the command that is executing this job.Get the time the job finished if it has finished.getName()Get the name of the job.Get the time the job started if it has started.Get the unique identifier of the job.getUser()Get the user who ran or is running the job.Methods inherited from interface com.netflix.genie.web.data.services.impl.jpa.queries.projections.StatusProjection
getStatus
-
Method Details
-
getUniqueId
String getUniqueId()Get the unique identifier of the job.- Returns:
- The unique identifier
-
getName
String getName()Get the name of the job.- Returns:
- The name of the job
-
getUser
String getUser()Get the user who ran or is running the job.- Returns:
- the user
-
getStarted
Get the time the job started if it has started.- Returns:
- The time the job started
-
getFinished
Get the time the job finished if it has finished.- Returns:
- The time the job finished
-
getClusterName
Get the name of the cluster that is running or did run this job.- Returns:
- The cluster name or empty Optional if it hasn't been set
-
getCommandName
Get the name of the command that is executing this job.- Returns:
- The command name or empty Optional if one wasn't set yet
-