Class CodeBuildRetentionStrategy
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<RetentionStrategy<?>>
-
- hudson.slaves.RetentionStrategy<AbstractCloudComputer>
-
- hudson.slaves.CloudRetentionStrategy
-
- io.jenkins.plugins.codebuildcloud.CodeBuildRetentionStrategy
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<RetentionStrategy<?>>
,ExecutorListener
public class CodeBuildRetentionStrategy extends CloudRetentionStrategy implements ExecutorListener
-
-
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 CodeBuildRetentionStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
check(AbstractCloudComputer c)
void
start(AbstractCloudComputer c)
void
taskAccepted(Executor executor, Queue.Task task)
void
taskCompleted(Executor executor, Queue.Task task, long durationMS)
void
taskCompletedWithProblems(Executor executor, Queue.Task task, long durationMS, Throwable problems)
-
Methods inherited from class hudson.slaves.RetentionStrategy
all, isAcceptingTasks, isManualLaunchAllowed
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.model.ExecutorListener
taskStarted
-
-
-
-
Method Detail
-
check
public long check(AbstractCloudComputer c)
- Overrides:
check
in classCloudRetentionStrategy
-
start
public void start(AbstractCloudComputer c)
- Overrides:
start
in classCloudRetentionStrategy
-
taskAccepted
public void taskAccepted(Executor executor, Queue.Task task)
- Specified by:
taskAccepted
in interfaceExecutorListener
-
taskCompleted
public void taskCompleted(Executor executor, Queue.Task task, long durationMS)
- Specified by:
taskCompleted
in interfaceExecutorListener
-
taskCompletedWithProblems
public void taskCompletedWithProblems(Executor executor, Queue.Task task, long durationMS, Throwable problems)
- Specified by:
taskCompletedWithProblems
in interfaceExecutorListener
-
-