Package com.carfey.ops.api.bean.schedule
Class ScheduleCreationRequest
- java.lang.Object
-
- com.carfey.ops.api.bean.schedule.AbstractScheduleCreationRequest<ScheduleCreationRequest>
-
- com.carfey.ops.api.bean.schedule.ScheduleCreationRequest
-
public class ScheduleCreationRequest extends AbstractScheduleCreationRequest<ScheduleCreationRequest>
Used to add a schedule to an existing job viaJobManager.- Since:
- 2.3
-
-
Field Summary
-
Fields inherited from class com.carfey.ops.api.bean.schedule.AbstractScheduleCreationRequest
effectiveDate, endDate, schedule, state
-
-
Constructor Summary
Constructors Constructor Description ScheduleCreationRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.LonggetCustomCalendarId()The optional custom calendar for the schedule.voidsetCustomCalendarId(java.lang.Long customCalendarId)java.lang.StringtoString()ScheduleCreationRequestwithCustomCalendarId(java.lang.Long customCalendarId)-
Methods inherited from class com.carfey.ops.api.bean.schedule.AbstractScheduleCreationRequest
getEffectiveDate, getEndDate, getOrdinalParameters, getSchedule, getState, setEffectiveDate, setEndDate, setOrdinalParameters, setSchedule, setState, withEffectiveDate, withEndDate, withOrdinalParameters, withSchedule, withState
-
-
-
-
Method Detail
-
getCustomCalendarId
public java.lang.Long getCustomCalendarId()
The optional custom calendar for the schedule.- Returns:
- custom calendar id
-
setCustomCalendarId
public void setCustomCalendarId(java.lang.Long customCalendarId)
-
withCustomCalendarId
public ScheduleCreationRequest withCustomCalendarId(java.lang.Long customCalendarId)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classAbstractScheduleCreationRequest<ScheduleCreationRequest>
-
-