Package io.jenkins.plugins.ghacloud
Class GitHubActionsRetentionStrategy
java.lang.Object
hudson.slaves.RetentionStrategy<AbstractCloudComputer<?>>
io.jenkins.plugins.ghacloud.GitHubActionsRetentionStrategy
- 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 TypeMethodDescriptionlongcheck(AbstractCloudComputer<?> c) intvoidstart(AbstractCloudComputer<?> c) Methods inherited from class hudson.slaves.RetentionStrategy
all, isAcceptingTasks, isManualLaunchAllowedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.Describable
getDescriptor
-
Constructor Details
-
GitHubActionsRetentionStrategy
@DataBoundConstructor public GitHubActionsRetentionStrategy(int idleMinutes)
-
-
Method Details
-
getIdleMinutes
public int getIdleMinutes() -
check
- Specified by:
checkin classRetentionStrategy<AbstractCloudComputer<?>>
-
start
- Overrides:
startin classRetentionStrategy<AbstractCloudComputer<?>>
-