Class ScanOnDemandVariables
java.lang.Object
hudson.model.AbstractDescribableImpl<ScanOnDemandVariables>
com.sonyericsson.jenkins.plugins.bfa.sod.ScanOnDemandVariables
- All Implemented Interfaces:
Describable<ScanOnDemandVariables>
Scan on demand feature settings.
- Author:
- Shemeer S <shemeer.x.sulaiman@sonymobile.com>
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Maximum number of worker threads.static final int
Minimum number of worker threads.static final int
Number of Core pool Threads.static final int
Thread keep alive time.static final int
Wait for job shutdown time. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the maximum number of sod threads.int
Returns the minimum number of sod threads.int
Returns the corepool number of threads.int
Returns the sod thread keep alive time.int
Returns the wait for job shut down time.void
setMaximumSodWorkerThreads
(int maximumSodWorkerThreads) Set maximum numbers of sod worker threads.void
setMinimumSodWorkerThreads
(int minimumSodWorkerThreads) Set minimum numbers of sod worker threads.void
setSodCorePoolNumberOfThreads
(int sodCorePoolNumberOfThreads) Set number of sod corepool threads.void
setSodThreadKeepAliveTime
(int sodThreadKeepAliveTime) Set sod threadkeepalivetime.void
setSodWaitForJobShutdownTimeout
(int sodWaitForJobShutdownTimeout) Set sod wait for job shut down time.Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Field Details
-
DEFAULT_MINIMUM_SOD_WORKER_THREADS
public static final int DEFAULT_MINIMUM_SOD_WORKER_THREADSMinimum number of worker threads.- See Also:
-
DEFAULT_MAXIMUM_SOD_WORKER_THREADS
public static final int DEFAULT_MAXIMUM_SOD_WORKER_THREADSMaximum number of worker threads.- See Also:
-
DEFAULT_SOD_THREADS_KEEP_ALIVE_TIME
public static final int DEFAULT_SOD_THREADS_KEEP_ALIVE_TIMEThread keep alive time.- See Also:
-
DEFAULT_SOD_WAIT_FOR_JOBS_SHUTDOWN_TIMEOUT
public static final int DEFAULT_SOD_WAIT_FOR_JOBS_SHUTDOWN_TIMEOUTWait for job shutdown time.- See Also:
-
DEFAULT_SOD_COREPOOL_THREADS
public static final int DEFAULT_SOD_COREPOOL_THREADSNumber 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.
-