|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.scheduler.core.impl.NullRunDetailsDao
public class NullRunDetailsDao
An implementation of RunDetailsDao that silently discards all run details supplied to it.
| Constructor Summary | |
|---|---|
NullRunDetailsDao()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullRunDetailsDao()
| Method Detail |
|---|
public RunDetails getLastRunForJob(@Nonnull
JobId jobId)
RunDetailsDao
getLastRunForJob in interface RunDetailsDaojobId - the job ID of interest
null if there
is no recorded run history for this job
public RunDetails getLastSuccessfulRunForJob(@Nonnull
JobId jobId)
RunDetailsDao
getLastSuccessfulRunForJob in interface RunDetailsDaojobId - the job ID of interest
null if there
is no successful result recorded for this job
public void addRunDetails(@Nonnull
JobId jobId,
@Nonnull
RunDetails runDetails)
RunDetailsDao
addRunDetails in interface RunDetailsDaojobId - 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 | |||||||||