Class JobScheduleExecutionInformation


  • public class JobScheduleExecutionInformation
    extends Object
    Contains information about Jobs that have been and will be run under a Job Schedule.
    • Constructor Detail

      • JobScheduleExecutionInformation

        public JobScheduleExecutionInformation()
    • Method Detail

      • nextRunTime

        public org.joda.time.DateTime nextRunTime()
        Get this property is meaningful only if the schedule is in the active state when the time comes around. For example, if the schedule is disabled, no Job will be created at nextRunTime unless the Job is enabled before then.
        Returns:
        the nextRunTime value
      • withNextRunTime

        public JobScheduleExecutionInformation withNextRunTime​(org.joda.time.DateTime nextRunTime)
        Set this property is meaningful only if the schedule is in the active state when the time comes around. For example, if the schedule is disabled, no Job will be created at nextRunTime unless the Job is enabled before then.
        Parameters:
        nextRunTime - the nextRunTime value to set
        Returns:
        the JobScheduleExecutionInformation object itself.
      • recentJob

        public RecentJob recentJob()
        Get this property is present only if the at least one Job has run under the schedule.
        Returns:
        the recentJob value
      • withRecentJob

        public JobScheduleExecutionInformation withRecentJob​(RecentJob recentJob)
        Set this property is present only if the at least one Job has run under the schedule.
        Parameters:
        recentJob - the recentJob value to set
        Returns:
        the JobScheduleExecutionInformation object itself.
      • endTime

        public org.joda.time.DateTime endTime()
        Get this property is set only if the Job Schedule is in the completed state.
        Returns:
        the endTime value
      • withEndTime

        public JobScheduleExecutionInformation withEndTime​(org.joda.time.DateTime endTime)
        Set this property is set only if the Job Schedule is in the completed state.
        Parameters:
        endTime - the endTime value to set
        Returns:
        the JobScheduleExecutionInformation object itself.