次の方法で共有


JobScheduleExecutionInformation Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.JobScheduleExecutionInformation

public class JobScheduleExecutionInformation

Contains information about Jobs that have been and will be run under a Job Schedule.

Constructor Summary

Constructor Description
JobScheduleExecutionInformation()

Method Summary

Modifier and Type Method and Description
org.joda.time.DateTime endTime()

Get this property is set only if the Job Schedule is in the completed state.

org.joda.time.DateTime nextRunTime()

Get this property is meaningful only if the schedule is in the active state when the time comes around.

RecentJob recentJob()

Get this property is present only if the at least one Job has run under the schedule.

JobScheduleExecutionInformation withEndTime(DateTime endTime)

Set this property is set only if the Job Schedule is in the completed state.

JobScheduleExecutionInformation withNextRunTime(DateTime nextRunTime)

Set this property is meaningful only if the schedule is in the active state when the time comes around.

JobScheduleExecutionInformation withRecentJob(RecentJob recentJob)

Set this property is present only if the at least one Job has run under the schedule.

Methods inherited from java.lang.Object

Constructor Details

JobScheduleExecutionInformation

public JobScheduleExecutionInformation()

Method Details

endTime

public DateTime endTime()

Get this property is set only if the Job Schedule is in the completed state.

Returns:

the endTime value

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:

the nextRunTime value

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

withEndTime

public JobScheduleExecutionInformation withEndTime(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.

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:

nextRunTime - the nextRunTime value to set

Returns:

the JobScheduleExecutionInformation object itself.

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.

Applies to