BatchJobScheduleExecutionInfo Class
- java.
lang. Object - com.
azure. compute. batch. models. BatchJobScheduleExecutionInfo
- com.
Implements
public final class BatchJobScheduleExecutionInfo
implements JsonSerializable<BatchJobScheduleExecutionInfo>
Contains information about Jobs that have been and will be run under a Job Schedule.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Batch |
fromJson(JsonReader jsonReader)
Reads an instance of Batch |
|
Offset |
getEndTime()
Get the end |
|
Offset |
getNextRunTime()
Get the next |
|
Recent |
getRecentJob()
Get the recent |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static BatchJobScheduleExecutionInfo fromJson(JsonReader jsonReader)
Reads an instance of BatchJobScheduleExecutionInfo from the JsonReader.
Parameters:
Returns:
Throws:
getEndTime
public OffsetDateTime getEndTime()
Get the endTime property: The time at which the schedule ended. This property is set only if the Job Schedule is in the completed state.
Returns:
getNextRunTime
public OffsetDateTime getNextRunTime()
Get the nextRunTime property: The next time at which a Job will be created under this schedule. 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:
getRecentJob
public RecentBatchJob getRecentJob()
Get the recentJob property: Information about the most recent Job under the Job Schedule. This property is present only if the at least one Job has run under the schedule.
Returns: