Package io.jenkins.plugins.noconflict
Class OnDemandNoConflicts
- All Implemented Interfaces:
ExtensionPoint
,Describable<RetentionStrategy<?>>
-
Nested Class Summary
Nested ClassesNested 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 -
Method Summary
Modifier and TypeMethodDescriptionlong
Getter for property 'conflictsWith'.long
Getter for property 'idleDelay'.long
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
-
Constructor Details
-
OnDemandNoConflicts
@DataBoundConstructor public OnDemandNoConflicts(long inDemandDelay, long idleDelay)
-
-
Method Details
-
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
Getter for property 'conflictsWith'.- Returns:
- Value for property 'conflictsWith'.
-
setConflictsWith
Setter for optional property 'conflictsWith'. -
check
- Specified by:
check
in classRetentionStrategy<SlaveComputer>
-