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<?>>
public class BaremetalCloudRetentionStrategy extends CloudRetentionStrategy
-
-
Nested Class Summary
-
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.CloudRetentionStrategy
disabled
-
Fields inherited from class hudson.slaves.RetentionStrategy
INSTANCE, LIST, NOOP
-
-
Constructor Summary
Constructors Constructor Description BaremetalCloudRetentionStrategy(int idleMinutes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
check(AbstractCloudComputer c)
PreventCloudRetentionStrategy
from terminating the Computer if it is in offline state set by user (e.g.-
Methods inherited from class hudson.slaves.CloudRetentionStrategy
start
-
Methods inherited from class hudson.slaves.RetentionStrategy
all, isAcceptingTasks, isManualLaunchAllowed
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Method Detail
-
check
public long check(AbstractCloudComputer c)
PreventCloudRetentionStrategy
from terminating the Computer if it is in offline state set by user (e.g. from Web UI) or by another plugin.- Overrides:
check
in classCloudRetentionStrategy
-
-