Uses of Class
hudson.slaves.RetentionStrategy
Package
Description
Core object model that are bound to URLs via stapler, rooted at
Jenkins
.Code related to agents.
-
Uses of RetentionStrategy in hudson
Modifier and TypeMethodDescriptionstatic List<Descriptor<RetentionStrategy<?>>>
Functions.getRetentionStrategyDescriptors()
Deprecated. -
Uses of RetentionStrategy in hudson.model
Modifier and TypeMethodDescriptionabstract RetentionStrategy
Computer.getRetentionStrategy()
RetentionStrategy
associated with this computer.Slave.getRetentionStrategy()
Modifier and TypeMethodDescriptionfinal List<Descriptor<RetentionStrategy<?>>>
Slave.SlaveDescriptor.retentionStrategyDescriptors
(Slave it) Returns the list ofRetentionStrategy
descriptors appropriate to the suppliedSlave
.Modifier and TypeMethodDescriptionvoid
Slave.setRetentionStrategy
(RetentionStrategy availabilityStrategy) ModifierConstructorDescriptionprotected
Slave
(String name, String nodeDescription, String remoteFS, int numExecutors, Node.Mode mode, String labelString, ComputerLauncher launcher, RetentionStrategy retentionStrategy) Deprecated.since 2009-02-20.protected
Slave
(String name, String nodeDescription, String remoteFS, int numExecutors, Node.Mode mode, String labelString, ComputerLauncher launcher, RetentionStrategy retentionStrategy, List<? extends NodeProperty<?>> nodeProperties) Deprecated.as of 2.2 UseSlave(String, String, ComputerLauncher)
and set the rest through setters.protected
Slave
(String name, String nodeDescription, String remoteFS, String numExecutors, Node.Mode mode, String labelString, ComputerLauncher launcher, RetentionStrategy retentionStrategy, List<? extends NodeProperty<?>> nodeProperties) Deprecated.since 2.184 -
Uses of RetentionStrategy in hudson.slaves
Modifier and TypeClassDescriptionclass
RetentionStrategy
implementation forAbstractCloudComputer
that terminates it if it remains idle for X minutes.class
CloudSlaveRetentionStrategy<T extends Computer>
Default convenience implementation ofRetentionStrategy
for agents provisioned fromCloud
.static class
RetentionStrategy
that tries to keep the node online all the time.static class
RetentionStrategy
that tries to keep the node offline when not in use.class
RetentionStrategy
that controls the agent based on a schedule.Modifier and TypeFieldDescriptionstatic final RetentionStrategy<Computer>
RetentionStrategy.NOOP
Dummy instance that doesn't do any attempt to retention.Modifier and TypeFieldDescriptionstatic final DescriptorList<RetentionStrategy<?>>
RetentionStrategy.LIST
Modifier and TypeMethodDescriptionstatic DescriptorExtensionList<RetentionStrategy<?>,
Descriptor<RetentionStrategy<?>>> RetentionStrategy.all()
Returns all the registeredRetentionStrategy
descriptors.static DescriptorExtensionList<RetentionStrategy<?>,
Descriptor<RetentionStrategy<?>>> RetentionStrategy.all()
Returns all the registeredRetentionStrategy
descriptors.ModifierConstructorDescriptionprotected
AbstractCloudSlave
(String name, String nodeDescription, String remoteFS, int numExecutors, Node.Mode mode, String labelString, ComputerLauncher launcher, RetentionStrategy retentionStrategy, List<? extends NodeProperty<?>> nodeProperties) Deprecated.since 2.184protected
AbstractCloudSlave
(String name, String nodeDescription, String remoteFS, String numExecutors, Node.Mode mode, String labelString, ComputerLauncher launcher, RetentionStrategy retentionStrategy, List<? extends NodeProperty<?>> nodeProperties) Deprecated.since 2.184DumbSlave
(String name, String nodeDescription, String remoteFS, String numExecutors, Node.Mode mode, String labelString, ComputerLauncher launcher, RetentionStrategy retentionStrategy) Deprecated.as of 1.286.DumbSlave
(String name, String nodeDescription, String remoteFS, String numExecutors, Node.Mode mode, String labelString, ComputerLauncher launcher, RetentionStrategy retentionStrategy, List<? extends NodeProperty<?>> nodeProperties) Deprecated.as of 2.2. -
Uses of RetentionStrategy in jenkins.model
Modifier and TypeMethodDescriptionJenkins.getRetentionStrategy
(String shortClassName) Gets the retention strategy descriptor by name.
Slave.SlaveDescriptor.retentionStrategyDescriptors(Slave)