CloudJobSchedule 类

定义

A job schedule that allows recurring jobs by specifying when to run jobs and a specification used to create each job.

public class CloudJobSchedule
继承
java.lang.Object
CloudJobSchedule

方法

creationTime()

Get the creationTime value.

displayName()

Get the displayName value.

eTag()

Get this is an opaque string. You can use it to detect whether the job schedule has changed between requests. In particular, you can be pass the ETag with an Update Job Schedule request to specify that your changes should take effect only if nobody else has modified the schedule in the meantime.

executionInfo()

Get the executionInfo value.

id()

Get the id value.

jobSpecification()

Get the jobSpecification value.

lastModified()

Get this is the last time at which the schedule level data, such as the job specification or recurrence information, changed. It does not factor in job-level changes such as new jobs being created or jobs changing state.

metadata()

Get the Batch service does not assign any meaning to metadata; it is solely for the use of user code.

previousState()

Get this property is not present if the job schedule is in its initial active state. Possible values include: 'active', 'completed', 'disabled', 'terminating', 'deleting'.

previousStateTransitionTime()

Get this property is not present if the job schedule is in its initial active state.

schedule()

Get the schedule value.

state()

Get possible values include: 'active', 'completed', 'disabled', 'terminating', 'deleting'.

stateTransitionTime()

Get the stateTransitionTime value.

stats()

Get the stats value.

url()

Get the url value.

withCreationTime(DateTime creationTime)

Set the creationTime value.

withDisplayName(String displayName)

Set the displayName value.

withETag(String eTag)

Set this is an opaque string. You can use it to detect whether the job schedule has changed between requests. In particular, you can be pass the ETag with an Update Job Schedule request to specify that your changes should take effect only if nobody else has modified the schedule in the meantime.

withExecutionInfo(JobScheduleExecutionInformation executionInfo)

Set the executionInfo value.

withId(String id)

Set the id value.

withJobSpecification(JobSpecification jobSpecification)

Set the jobSpecification value.

withLastModified(DateTime lastModified)

Set this is the last time at which the schedule level data, such as the job specification or recurrence information, changed. It does not factor in job-level changes such as new jobs being created or jobs changing state.

withMetadata(List<MetadataItem> metadata)

Set the Batch service does not assign any meaning to metadata; it is solely for the use of user code.

withPreviousState(JobScheduleState previousState)

Set this property is not present if the job schedule is in its initial active state. Possible values include: 'active', 'completed', 'disabled', 'terminating', 'deleting'.

withPreviousStateTransitionTime(DateTime previousStateTransitionTime)

Set this property is not present if the job schedule is in its initial active state.

withSchedule(Schedule schedule)

Set the schedule value.

withState(JobScheduleState state)

Set possible values include: 'active', 'completed', 'disabled', 'terminating', 'deleting'.

withStateTransitionTime(DateTime stateTransitionTime)

Set the stateTransitionTime value.

withStats(JobScheduleStatistics stats)

Set the stats value.

withUrl(String url)

Set the url value.

适用于