Class ScanOnDemandVariables

java.lang.Object
hudson.model.AbstractDescribableImpl<ScanOnDemandVariables>
com.sonyericsson.jenkins.plugins.bfa.sod.ScanOnDemandVariables
All Implemented Interfaces:
Describable<ScanOnDemandVariables>

public class ScanOnDemandVariables extends AbstractDescribableImpl<ScanOnDemandVariables>
Scan on demand feature settings.
Author:
Shemeer S <shemeer.x.sulaiman@sonymobile.com>
  • Field Details

    • DEFAULT_MINIMUM_SOD_WORKER_THREADS

      public static final int DEFAULT_MINIMUM_SOD_WORKER_THREADS
      Minimum number of worker threads.
      See Also:
    • DEFAULT_MAXIMUM_SOD_WORKER_THREADS

      public static final int DEFAULT_MAXIMUM_SOD_WORKER_THREADS
      Maximum number of worker threads.
      See Also:
    • DEFAULT_SOD_THREADS_KEEP_ALIVE_TIME

      public static final int DEFAULT_SOD_THREADS_KEEP_ALIVE_TIME
      Thread keep alive time.
      See Also:
    • DEFAULT_SOD_WAIT_FOR_JOBS_SHUTDOWN_TIMEOUT

      public static final int DEFAULT_SOD_WAIT_FOR_JOBS_SHUTDOWN_TIMEOUT
      Wait for job shutdown time.
      See Also:
    • DEFAULT_SOD_COREPOOL_THREADS

      public static final int DEFAULT_SOD_COREPOOL_THREADS
      Number of Core pool Threads.
      See Also:
  • Constructor Details

    • ScanOnDemandVariables

      @DataBoundConstructor public ScanOnDemandVariables()
      Data bound constructor (used by jcasc).
  • Method Details

    • setMaximumSodWorkerThreads

      @DataBoundSetter public void setMaximumSodWorkerThreads(int maximumSodWorkerThreads)
      Set maximum numbers of sod worker threads.
      Parameters:
      maximumSodWorkerThreads - value.
    • setMinimumSodWorkerThreads

      @DataBoundSetter public void setMinimumSodWorkerThreads(int minimumSodWorkerThreads)
      Set minimum numbers of sod worker threads.
      Parameters:
      minimumSodWorkerThreads - value.
    • setSodCorePoolNumberOfThreads

      @DataBoundSetter public void setSodCorePoolNumberOfThreads(int sodCorePoolNumberOfThreads)
      Set number of sod corepool threads.
      Parameters:
      sodCorePoolNumberOfThreads - value.
    • setSodThreadKeepAliveTime

      @DataBoundSetter public void setSodThreadKeepAliveTime(int sodThreadKeepAliveTime)
      Set sod threadkeepalivetime.
      Parameters:
      sodThreadKeepAliveTime - value.
    • setSodWaitForJobShutdownTimeout

      @DataBoundSetter public void setSodWaitForJobShutdownTimeout(int sodWaitForJobShutdownTimeout)
      Set sod wait for job shut down time.
      Parameters:
      sodWaitForJobShutdownTimeout - value.
    • getSodCorePoolNumberOfThreads

      public int getSodCorePoolNumberOfThreads()
      Returns the corepool number of threads.
      Returns:
      int value.
    • getMaximumSodWorkerThreads

      public int getMaximumSodWorkerThreads()
      Returns the maximum number of sod threads.
      Returns:
      int value.
    • getMinimumSodWorkerThreads

      public int getMinimumSodWorkerThreads()
      Returns the minimum number of sod threads.
      Returns:
      int value.
    • getSodThreadKeepAliveTime

      public int getSodThreadKeepAliveTime()
      Returns the sod thread keep alive time.
      Returns:
      int value.
    • getSodWaitForJobShutdownTimeout

      public int getSodWaitForJobShutdownTimeout()
      Returns the wait for job shut down time.
      Returns:
      the int value.