|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RunDetailsDao
Service provided by the host application to persist RunDetails objects.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
@CheckForNull
RunDetails getLastRunForJob(@Nonnull
JobId jobId)
jobId - the job ID of interest
null if there
is no recorded run history for this job
@CheckForNull
RunDetails getLastSuccessfulRunForJob(@Nonnull
JobId jobId)
jobId - the job ID of interest
null if there
is no successful result recorded for this job
void addRunDetails(@Nonnull
JobId jobId,
@Nonnull
RunDetails runDetails)
jobId - the job ID of the job that the scheduler attempted to runrunDetails - the result of the run
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||