Class JobUpdateRequest


  • public class JobUpdateRequest
    extends java.lang.Object
    Used to update an existing job via JobManager.
    Since:
    2.3
    • Constructor Detail

      • JobUpdateRequest

        public JobUpdateRequest()
    • Method Detail

      • getJobClass

        public java.lang.String getJobClass()
      • setJobClass

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

        public JobUpdateRequest withJobClass​(java.lang.String jobClass)
      • getNickname

        public java.lang.String getNickname()
      • setNickname

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

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

        public java.lang.String getFolder()
      • setFolder

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

        public java.lang.Integer getPickupBufferMinutes()
      • setPickupBufferMinutes

        public void setPickupBufferMinutes​(java.lang.Integer pickupBufferMinutes)
      • withPickupBufferMinutes

        public JobUpdateRequest withPickupBufferMinutes​(java.lang.Integer pickupBufferMinutes)
      • setRecoveryType

        public void setRecoveryType​(JobRecoveryType recoveryType)
      • getHosts

        public java.util.List<java.lang.String> getHosts()
      • setHosts

        public void setHosts​(java.util.List<java.lang.String> hosts)
      • withHosts

        public JobUpdateRequest withHosts​(java.util.List<java.lang.String> hosts)
      • getMinExecutionDuration

        public java.lang.String getMinExecutionDuration()
      • setMinExecutionDuration

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

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

        public java.lang.String getMaxExecutionDuration()
      • setMaxExecutionDuration

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

        public JobUpdateRequest withMaxExecutionDuration​(java.lang.String maxExecutionDuration)
      • getAutoRetryCount

        public java.lang.Integer getAutoRetryCount()
      • setAutoRetryCount

        public void setAutoRetryCount​(java.lang.Integer autoRetryCount)
      • withAutoRetryCount

        public JobUpdateRequest withAutoRetryCount​(java.lang.Integer autoRetryCount)
      • getAutoRetryInterval

        public java.lang.Integer getAutoRetryInterval()
      • setAutoRetryInterval

        public void setAutoRetryInterval​(java.lang.Integer autoRetryInterval)
      • withAutoRetryInterval

        public JobUpdateRequest withAutoRetryInterval​(java.lang.Integer autoRetryInterval)
      • getAutoRetryIntervalExponent

        public java.lang.Boolean getAutoRetryIntervalExponent()
      • setAutoRetryIntervalExponent

        public void setAutoRetryIntervalExponent​(java.lang.Boolean retryIntervalExponent)
      • withAutoRetryIntervalExponent

        public JobUpdateRequest withAutoRetryIntervalExponent​(java.lang.Boolean retryIntervalExponent)
      • getChainAll

        public java.lang.Boolean getChainAll()
      • setChainAll

        public void setChainAll​(java.lang.Boolean chainAll)
      • withChainAll

        public JobUpdateRequest withChainAll​(java.lang.Boolean chainAll)
      • getHostPreference

        public java.lang.Boolean getHostPreference()
        Returns:
        host preference
        Since:
        3.0
      • setHostPreference

        public void setHostPreference​(java.lang.Boolean hostPreference)
      • withHostPreference

        public JobUpdateRequest withHostPreference​(java.lang.Boolean hostPreference)
      • getAutoInterrupt

        public java.lang.Boolean getAutoInterrupt()
        Returns:
        auto interrutp setting
        Since:
        3.4.0
      • setAutoInterrupt

        public void setAutoInterrupt​(java.lang.Boolean autoInterrupt)
      • withAutoInterrupt

        public JobUpdateRequest withAutoInterrupt​(java.lang.Boolean autoInterrupt)
      • setStartupShutdownMode

        public void setStartupShutdownMode​(StartupShutdownMode startupShutdownMode)
        Since:
        4.10.0
      • toString

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