Class Job

  • Direct Known Subclasses:
    JobState

    public class Job
    extends java.lang.Object
    • Field Detail

      • jobId

        protected long jobId
      • pickupBufferMinutes

        protected int pickupBufferMinutes
      • nickname

        protected java.lang.String nickname
      • folder

        protected java.lang.String folder
      • interruptable

        protected boolean interruptable
      • jobClass

        protected java.lang.String jobClass
      • autoRetryCount

        protected int autoRetryCount
      • autoRetryInterval

        protected int autoRetryInterval
      • autoRetryIntervalExponent

        protected boolean autoRetryIntervalExponent
      • minExecutionDuration

        protected java.lang.String minExecutionDuration
      • maxExecutionDuration

        protected java.lang.String maxExecutionDuration
      • chainAll

        protected boolean chainAll
      • hostPreference

        protected boolean hostPreference
      • autoInterrupt

        protected boolean autoInterrupt
      • revision

        protected long revision
    • Constructor Detail

      • Job

        public Job()
    • Method Detail

      • setRecoveryType

        public void setRecoveryType​(JobRecoveryType recoveryType)
      • getJobId

        public long getJobId()
      • setJobId

        public void setJobId​(long jobId)
      • withJobId

        public Job withJobId​(long jobId)
      • getPickupBufferMinutes

        public int getPickupBufferMinutes()
      • setPickupBufferMinutes

        public void setPickupBufferMinutes​(int pickupBufferMinutes)
      • withPickupBufferMinutes

        public Job withPickupBufferMinutes​(int pickupBufferMinutes)
      • getNickname

        public java.lang.String getNickname()
      • setNickname

        public void setNickname​(java.lang.String nickname)
      • withNickname

        public Job withNickname​(java.lang.String nickname)
      • getFolder

        public java.lang.String getFolder()
      • setFolder

        public void setFolder​(java.lang.String folder)
      • withFolder

        public Job withFolder​(java.lang.String folder)
      • isInterruptable

        public boolean isInterruptable()
      • setInterruptable

        public void setInterruptable​(boolean interruptable)
      • withInterruptable

        public Job withInterruptable​(boolean interruptable)
      • getJobClass

        public java.lang.String getJobClass()
      • setJobClass

        public void setJobClass​(java.lang.String jobClass)
      • withJobClass

        public Job withJobClass​(java.lang.String jobClass)
      • getAutoRetryCount

        public int getAutoRetryCount()
      • setAutoRetryCount

        public void setAutoRetryCount​(int autoRetryCount)
      • withAutoRetryCount

        public Job withAutoRetryCount​(int autoRetryCount)
      • getAutoRetryInterval

        public int getAutoRetryInterval()
      • setAutoRetryInterval

        public void setAutoRetryInterval​(int autoRetryInterval)
      • withAutoRetryInterval

        public Job withAutoRetryInterval​(int autoRetryInterval)
      • getAutoRetryIntervalExponent

        public boolean getAutoRetryIntervalExponent()
      • setAutoRetryIntervalExponent

        public void setAutoRetryIntervalExponent​(boolean retryIntervalExponent)
      • withAutoRetryIntervalExponent

        public Job withAutoRetryIntervalExponent​(boolean retryIntervalExponent)
      • getMinExecutionDuration

        public java.lang.String getMinExecutionDuration()
      • setMinExecutionDuration

        public void setMinExecutionDuration​(java.lang.String minExecutionDuration)
      • withMinExecutionDuration

        public Job withMinExecutionDuration​(java.lang.String minExecutionDuration)
      • getMaxExecutionDuration

        public java.lang.String getMaxExecutionDuration()
      • setMaxExecutionDuration

        public void setMaxExecutionDuration​(java.lang.String maxExecutionDuration)
      • withMaxExecutionDuration

        public Job withMaxExecutionDuration​(java.lang.String maxExecutionDuration)
      • isChainAll

        public boolean isChainAll()
      • setChainAll

        public void setChainAll​(boolean chainAll)
      • withChainAll

        public Job withChainAll​(boolean chainAll)
      • isHostPreference

        public boolean isHostPreference()
      • setHostPreference

        public void setHostPreference​(boolean hostPreference)
      • withHostPreference

        public Job withHostPreference​(boolean hostPreference)
      • isAutoInterrupt

        public boolean isAutoInterrupt()
      • setAutoInterrupt

        public void setAutoInterrupt​(boolean autoInterrupt)
      • withAutoInterrupt

        public Job withAutoInterrupt​(boolean autoInterrupt)
      • setStartupShutdownMode

        public void setStartupShutdownMode​(StartupShutdownMode startupShutdownMode)
      • getRevision

        public long getRevision()
      • setRevision

        public void setRevision​(long revision)
      • withRevision

        public Job withRevision​(long revision)
      • getCreatedBy

        public java.lang.String getCreatedBy()
      • setCreatedBy

        public void setCreatedBy​(java.lang.String createdBy)
      • withCreatedBy

        public Job withCreatedBy​(java.lang.String createdBy)
      • getCreatedDate

        public com.carfey.jdk.lang.DateTime getCreatedDate()
      • setCreatedDate

        public void setCreatedDate​(com.carfey.jdk.lang.DateTime createdDate)
      • withCreatedDate

        public Job withCreatedDate​(com.carfey.jdk.lang.DateTime createdDate)
      • getLastUpdatedBy

        public java.lang.String getLastUpdatedBy()
      • setLastUpdatedBy

        public void setLastUpdatedBy​(java.lang.String lastUpdatedBy)
      • withLastUpdatedBy

        public Job withLastUpdatedBy​(java.lang.String lastUpdatedBy)
      • getLastUpdatedDate

        public com.carfey.jdk.lang.DateTime getLastUpdatedDate()
      • setLastUpdatedDate

        public void setLastUpdatedDate​(com.carfey.jdk.lang.DateTime lastUpdatedDate)
      • withLastUpdatedDate

        public Job withLastUpdatedDate​(com.carfey.jdk.lang.DateTime lastUpdatedDate)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object