JobScheduleExecutionInformation Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. JobScheduleExecutionInformation
- com.
public class JobScheduleExecutionInformation
Contains information about jobs that have been and will be run under a job schedule.
Method Summary
Modifier and Type | Method and Description |
---|---|
DateTime |
endTime()
Get this property is set only if the job schedule is in the completed state. |
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. |
Recent |
recentJob()
Get this property is present only if the at least one job has run under the schedule. |
Job |
withEndTime(DateTime endTime)
Set this property is set only if the job schedule is in the completed state. |
Job |
withNextRunTime(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. |
Job |
withRecentJob(RecentJob recentJob)
Set this property is present only if the at least one job has run under the schedule. |
Method Details
endTime
public DateTime endTime()
Get this property is set only if the job schedule is in the completed state.
Returns:
nextRunTime
public 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:
recentJob
public RecentJob recentJob()
Get this property is present only if the at least one job has run under the schedule.
Returns:
withEndTime
public JobScheduleExecutionInformation withEndTime(DateTime endTime)
Set this property is set only if the job schedule is in the completed state.
Parameters:
Returns:
withNextRunTime
public JobScheduleExecutionInformation withNextRunTime(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:
Returns:
withRecentJob
public JobScheduleExecutionInformation withRecentJob(RecentJob recentJob)
Set this property is present only if the at least one job has run under the schedule.
Parameters:
Returns:
Applies to
Azure SDK for Java