public interface RunDetailsDao
RunDetails objects.| Modifier and Type | Method and Description |
|---|---|
void |
addRunDetails(JobId jobId,
RunDetails runDetails)
Records the result of an attempt to run the specified job.
|
RunDetails |
getLastRunForJob(JobId jobId)
Returns the result of the most recent attempt to run this job.
|
RunDetails |
getLastSuccessfulRunForJob(JobId jobId)
Returns the result of the most recent successful run of this job.
|
@CheckForNull RunDetails getLastRunForJob(JobId jobId)
jobId - the job ID of interestnull if there
is no recorded run history for this job@CheckForNull RunDetails getLastSuccessfulRunForJob(JobId jobId)
jobId - the job ID of interestnull if there
is no successful result recorded for this jobvoid addRunDetails(JobId jobId, RunDetails runDetails)
jobId - the job ID of the job that the scheduler attempted to runrunDetails - the result of the runCopyright © 2017 Atlassian. All rights reserved.