public class JobSchedule extends Object
| Constructor and Description |
|---|
JobSchedule() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
enabled()
Get whether or not the schedule is enabled.
|
org.joda.time.DateTime |
endTime()
Get schedule end time.
|
String |
interval()
Get value of the schedule's recurring interval, if the schedule type is recurring.
|
org.joda.time.DateTime |
startTime()
Get schedule start time.
|
JobScheduleType |
type()
Get schedule interval type.
|
JobSchedule |
withEnabled(Boolean enabled)
Set whether or not the schedule is enabled.
|
JobSchedule |
withEndTime(org.joda.time.DateTime endTime)
Set schedule end time.
|
JobSchedule |
withInterval(String interval)
Set value of the schedule's recurring interval, if the schedule type is recurring.
|
JobSchedule |
withStartTime(org.joda.time.DateTime startTime)
Set schedule start time.
|
JobSchedule |
withType(JobScheduleType type)
Set schedule interval type.
|
public org.joda.time.DateTime startTime()
public JobSchedule withStartTime(org.joda.time.DateTime startTime)
startTime - the startTime value to setpublic org.joda.time.DateTime endTime()
public JobSchedule withEndTime(org.joda.time.DateTime endTime)
endTime - the endTime value to setpublic JobScheduleType type()
public JobSchedule withType(JobScheduleType type)
type - the type value to setpublic Boolean enabled()
public JobSchedule withEnabled(Boolean enabled)
enabled - the enabled value to setpublic String interval()
public JobSchedule withInterval(String interval)
interval - the interval value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/