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.DemandNested 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 TypeMethodDescriptionlongGetter for property 'conflictsWith'.longGetter for property 'idleDelay'.longGetter for property 'inDemandDelay'.voidsetConflictsWith(String value) Setter for optional property 'conflictsWith'.Methods inherited from class hudson.slaves.RetentionStrategy
all, isAcceptingTasks, isManualLaunchAllowed, startMethods 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:
checkin classRetentionStrategy<SlaveComputer>
-