Package com.carfey.ops.api.bean.job
Class JobCreationRequest
- java.lang.Object
-
- com.carfey.ops.api.bean.job.AbstractJobCreationRequest<JobCreationRequest>
-
- com.carfey.ops.api.bean.job.JobCreationRequest
-
public class JobCreationRequest extends AbstractJobCreationRequest<JobCreationRequest>
Used to create a new job viaJobManager.- Since:
- 2.3
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.LongcustomCalendarId-
Fields inherited from class com.carfey.ops.api.bean.job.AbstractJobCreationRequest
autoInterrupt, autoRetryCount, autoRetryInterval, autoRetryIntervalExponent, chainAll, effectiveDate, endDate, folder, hostPreference, hosts, jobClass, maxExecutionDuration, minExecutionDuration, nickname, parameters, pickupBufferMinutes, recoveryType, schedule, startupShutdownMode, state
-
-
Constructor Summary
Constructors Constructor Description JobCreationRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.LonggetCustomCalendarId()The optional custom calendar for the initial schedule.voidsetCustomCalendarId(java.lang.Long customCalendarId)java.lang.StringtoString()JobCreationRequestwithCustomCalendarId(java.lang.Long customCalendarId)-
Methods inherited from class com.carfey.ops.api.bean.job.AbstractJobCreationRequest
getAutoRetryCount, getAutoRetryInterval, getAutoRetryIntervalExponent, getEffectiveDate, getEndDate, getFolder, getHosts, getJobClass, getMaxExecutionDuration, getMinExecutionDuration, getNickname, getParameters, getPickupBufferMinutes, getRecoveryType, getSchedule, getStartupShutdownMode, getState, isAutoInterrupt, isChainAll, isHostPreference, setAutoInterrupt, setAutoRetryCount, setAutoRetryInterval, setAutoRetryIntervalExponent, setChainAll, setEffectiveDate, setEndDate, setFolder, setHostPreference, setHosts, setJobClass, setMaxExecutionDuration, setMinExecutionDuration, setNickname, setParameters, setPickupBufferMinutes, setRecoveryType, setSchedule, setStartupShutdownMode, setState, withAutoInterrupt, withAutoRetryCount, withAutoRetryInterval, withAutoRetryIntervalExponent, withChainAll, withEffectiveDate, withEndDate, withFolder, withHostPreference, withHosts, withJobClass, withMaxExecutionDuration, withMinExecutionDuration, withNickname, withParameters, withPickupBufferMinutes, withRecoveryType, withSchedule, withStartupShutdownMode, withState
-
-
-
-
Method Detail
-
getCustomCalendarId
public java.lang.Long getCustomCalendarId()
The optional custom calendar for the initial schedule.- Returns:
- custom calendar id
-
setCustomCalendarId
public void setCustomCalendarId(java.lang.Long customCalendarId)
-
withCustomCalendarId
public JobCreationRequest withCustomCalendarId(java.lang.Long customCalendarId)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classAbstractJobCreationRequest<JobCreationRequest>
-
-