Package com.carfey.ops.api.bean.job
Class JobState
- java.lang.Object
-
- com.carfey.ops.api.bean.job.Job
-
- com.carfey.ops.api.bean.job.JobState
-
public class JobState extends Job
-
-
Field Summary
Fields Modifier and Type Field Description protected ScheduleactiveSchedule-
Fields inherited from class com.carfey.ops.api.bean.job.Job
autoInterrupt, autoRetryCount, autoRetryInterval, autoRetryIntervalExponent, chainAll, folder, hostPreference, interruptable, jobClass, jobId, maxExecutionDuration, minExecutionDuration, nickname, pickupBufferMinutes, recoveryType, revision, startupShutdownMode
-
-
Constructor Summary
Constructors Constructor Description JobState()
-
Method Summary
-
Methods inherited from class com.carfey.ops.api.bean.job.Job
getAutoRetryCount, getAutoRetryInterval, getAutoRetryIntervalExponent, getCreatedBy, getCreatedDate, getFolder, getJobClass, getJobId, getLastUpdatedBy, getLastUpdatedDate, getMaxExecutionDuration, getMinExecutionDuration, getNickname, getPickupBufferMinutes, getRecoveryType, getRevision, getStartupShutdownMode, isAutoInterrupt, isChainAll, isHostPreference, isInterruptable, setAutoInterrupt, setAutoRetryCount, setAutoRetryInterval, setAutoRetryIntervalExponent, setChainAll, setCreatedBy, setCreatedDate, setFolder, setHostPreference, setInterruptable, setJobClass, setJobId, setLastUpdatedBy, setLastUpdatedDate, setMaxExecutionDuration, setMinExecutionDuration, setNickname, setPickupBufferMinutes, setRecoveryType, setRevision, setStartupShutdownMode, withCreatedBy, withCreatedDate, withLastUpdatedBy, withLastUpdatedDate
-
-
-
-
Field Detail
-
activeSchedule
protected Schedule activeSchedule
-
-
Method Detail
-
getActiveSchedule
public Schedule getActiveSchedule()
-
setActiveSchedule
public void setActiveSchedule(Schedule activeSchedule)
-
withRecoveryType
public JobState withRecoveryType(JobRecoveryType recoveryType)
- Overrides:
withRecoveryTypein classJob
-
withPickupBufferMinutes
public JobState withPickupBufferMinutes(int pickupBufferMinutes)
- Overrides:
withPickupBufferMinutesin classJob
-
withNickname
public JobState withNickname(java.lang.String nickname)
- Overrides:
withNicknamein classJob
-
withInterruptable
public JobState withInterruptable(boolean interruptable)
- Overrides:
withInterruptablein classJob
-
withJobClass
public JobState withJobClass(java.lang.String jobClass)
- Overrides:
withJobClassin classJob
-
withAutoRetryCount
public JobState withAutoRetryCount(int autoRetryCount)
- Overrides:
withAutoRetryCountin classJob
-
withMinExecutionDuration
public JobState withMinExecutionDuration(java.lang.String minExecutionDuration)
- Overrides:
withMinExecutionDurationin classJob
-
withMaxExecutionDuration
public JobState withMaxExecutionDuration(java.lang.String maxExecutionDuration)
- Overrides:
withMaxExecutionDurationin classJob
-
withChainAll
public JobState withChainAll(boolean chainAll)
- Overrides:
withChainAllin classJob
-
withRevision
public JobState withRevision(long revision)
- Overrides:
withRevisionin classJob
-
withAutoRetryInterval
public JobState withAutoRetryInterval(int autoRetryInterval)
- Overrides:
withAutoRetryIntervalin classJob
-
withAutoRetryIntervalExponent
public JobState withAutoRetryIntervalExponent(boolean retryIntervalExponent)
- Overrides:
withAutoRetryIntervalExponentin classJob
-
withHostPreference
public JobState withHostPreference(boolean hostPreference)
- Overrides:
withHostPreferencein classJob
-
withFolder
public JobState withFolder(java.lang.String folder)
- Overrides:
withFolderin classJob
-
withAutoInterrupt
public JobState withAutoInterrupt(boolean autoInterrupt)
- Overrides:
withAutoInterruptin classJob
-
withStartupShutdownMode
public JobState withStartupShutdownMode(StartupShutdownMode startupShutdownMode)
- Overrides:
withStartupShutdownModein classJob
-
-