Class SchedulerRunDetailsDao

All Implemented Interfaces:
com.atlassian.scheduler.core.spi.RunDetailsDao, org.springframework.beans.factory.InitializingBean

@Transactional public class SchedulerRunDetailsDao extends ConfluenceHibernateObjectDao<SchedulerRunDetails> implements com.atlassian.scheduler.core.spi.RunDetailsDao
Since:
5.10
  • Constructor Details

    • SchedulerRunDetailsDao

      public SchedulerRunDetailsDao()
  • Method Details

    • getPersistentClass

      public Class<SchedulerRunDetails> getPersistentClass()
      Specified by:
      getPersistentClass in class HibernateObjectDao<SchedulerRunDetails>
    • getLastRunForJob

      public com.atlassian.scheduler.status.RunDetails getLastRunForJob(com.atlassian.scheduler.config.JobId jobId)
      Specified by:
      getLastRunForJob in interface com.atlassian.scheduler.core.spi.RunDetailsDao
    • getLastSuccessfulRunForJob

      public com.atlassian.scheduler.status.RunDetails getLastSuccessfulRunForJob(com.atlassian.scheduler.config.JobId jobId)
      Specified by:
      getLastSuccessfulRunForJob in interface com.atlassian.scheduler.core.spi.RunDetailsDao
    • getLastRunForJobs

      public Map<com.atlassian.scheduler.config.JobId,com.atlassian.scheduler.status.RunDetails> getLastRunForJobs(List<com.atlassian.scheduler.config.JobId> jobIds)
      Specified by:
      getLastRunForJobs in interface com.atlassian.scheduler.core.spi.RunDetailsDao
    • addRunDetails

      public void addRunDetails(com.atlassian.scheduler.config.JobId jobId, com.atlassian.scheduler.status.RunDetails runDetails)
      Specified by:
      addRunDetails in interface com.atlassian.scheduler.core.spi.RunDetailsDao