Package io.jenkins.plugins.noconflict
Class OnDemandNoConflicts
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<RetentionStrategy<?>>
-
- hudson.slaves.RetentionStrategy<SlaveComputer>
-
- io.jenkins.plugins.noconflict.OnDemandNoConflicts
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<RetentionStrategy<?>>
public class OnDemandNoConflicts extends RetentionStrategy<SlaveComputer>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OnDemandNoConflicts.DescriptorImpl
-
Nested classes/interfaces inherited from class hudson.slaves.RetentionStrategy
RetentionStrategy.Always, RetentionStrategy.Demand
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.slaves.RetentionStrategy
INSTANCE, LIST, NOOP
-
-
Constructor Summary
Constructors Constructor Description OnDemandNoConflicts(long inDemandDelay, long idleDelay)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
check(SlaveComputer c)
String
getConflictsWith()
Getter for property 'conflictsWith'.long
getIdleDelay()
Getter for property 'idleDelay'.long
getInDemandDelay()
Getter for property 'inDemandDelay'.void
setConflictsWith(String value)
Setter for optional property 'conflictsWith'.-
Methods inherited from class hudson.slaves.RetentionStrategy
all, isAcceptingTasks, isManualLaunchAllowed, start
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Method Detail
-
getInDemandDelay
public long getInDemandDelay()
Getter for property 'inDemandDelay'.- Returns:
- Value for property 'inDemandDelay'.
-
getIdleDelay
public long getIdleDelay()
Getter for property 'idleDelay'.- Returns:
- Value for property 'idleDelay'.
-
getConflictsWith
public String getConflictsWith()
Getter for property 'conflictsWith'.- Returns:
- Value for property 'conflictsWith'.
-
setConflictsWith
@DataBoundSetter public void setConflictsWith(String value)
Setter for optional property 'conflictsWith'.
-
check
public long check(SlaveComputer c)
- Specified by:
check
in classRetentionStrategy<SlaveComputer>
-
-