Class BaremetalCloudRetentionStrategy
java.lang.Object
hudson.model.AbstractDescribableImpl<RetentionStrategy<?>>
hudson.slaves.RetentionStrategy<AbstractCloudComputer>
hudson.slaves.CloudRetentionStrategy
com.oracle.cloud.baremetal.jenkins.BaremetalCloudRetentionStrategy
- All Implemented Interfaces:
ExtensionPoint,Describable<RetentionStrategy<?>>
-
Nested Class Summary
Nested 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.CloudRetentionStrategy
disabledFields inherited from class hudson.slaves.RetentionStrategy
INSTANCE, LIST, NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongPreventCloudRetentionStrategyfrom terminating the Computer if it is in offline state set by user (e.g.Methods inherited from class hudson.slaves.CloudRetentionStrategy
startMethods inherited from class hudson.slaves.RetentionStrategy
all, isAcceptingTasks, isManualLaunchAllowedMethods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
BaremetalCloudRetentionStrategy
public BaremetalCloudRetentionStrategy(int idleMinutes)
-
-
Method Details
-
check
PreventCloudRetentionStrategyfrom terminating the Computer if it is in offline state set by user (e.g. from Web UI) or by another plugin.- Overrides:
checkin classCloudRetentionStrategy
-