Class CronJobLogDao


  • public class CronJobLogDao
    extends Object
    Cronjob logs persistence
    Author:
    mikkelvestergaard
    • Constructor Detail

      • CronJobLogDao

        public CronJobLogDao()
    • Method Detail

      • findAllCronJobLogs

        public List<CronJobLog> findAllCronJobLogs()
        Get all cronJobLogs
        Returns:
        list of all cronJobLogs
      • findCronJobLogByName

        public CronJobLog findCronJobLogByName​(CronJobLogName jobName)
        Find a cronJobLog by name
        Parameters:
        jobName - the name of the cronJobLog
        Returns:
        the cronJobLog or null if not found
      • persistCronJobLog

        public void persistCronJobLog​(CronJobLog cronJobLog)
        Persist the cron job log to the database
        Parameters:
        cronJobLog - the cron job log to persist