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>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ScanOnDemandVariables.DescriptorImpl
Descriptor forScanOnDemandVariables
.
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_MAXIMUM_SOD_WORKER_THREADS
Maximum number of worker threads.static int
DEFAULT_MINIMUM_SOD_WORKER_THREADS
Minimum number of worker threads.static int
DEFAULT_SOD_COREPOOL_THREADS
Number of Core pool Threads.static int
DEFAULT_SOD_THREADS_KEEP_ALIVE_TIME
Thread keep alive time.static int
DEFAULT_SOD_WAIT_FOR_JOBS_SHUTDOWN_TIMEOUT
Wait for job shutdown time.
-
Constructor Summary
Constructors Constructor Description ScanOnDemandVariables()
Data bound constructor (used by jcasc).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMaximumSodWorkerThreads()
Returns the maximum number of sod threads.int
getMinimumSodWorkerThreads()
Returns the minimum number of sod threads.int
getSodCorePoolNumberOfThreads()
Returns the corepool number of threads.int
getSodThreadKeepAliveTime()
Returns the sod thread keep alive time.int
getSodWaitForJobShutdownTimeout()
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 Detail
-
DEFAULT_MINIMUM_SOD_WORKER_THREADS
public static final int DEFAULT_MINIMUM_SOD_WORKER_THREADS
Minimum number of worker threads.- See Also:
- Constant Field Values
-
DEFAULT_MAXIMUM_SOD_WORKER_THREADS
public static final int DEFAULT_MAXIMUM_SOD_WORKER_THREADS
Maximum number of worker threads.- See Also:
- Constant Field Values
-
DEFAULT_SOD_THREADS_KEEP_ALIVE_TIME
public static final int DEFAULT_SOD_THREADS_KEEP_ALIVE_TIME
Thread keep alive time.- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
DEFAULT_SOD_COREPOOL_THREADS
public static final int DEFAULT_SOD_COREPOOL_THREADS
Number of Core pool Threads.- See Also:
- Constant Field Values
-
-
Method Detail
-
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.
-
-