Uses of Class
hudson.slaves.RetentionStrategy
Packages that use 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
Methods in hudson that return types with arguments of type RetentionStrategyModifier and TypeMethodDescriptionstatic List<Descriptor<RetentionStrategy<?>>>
Functions.getRetentionStrategyDescriptors()
Deprecated. -
Uses of RetentionStrategy in hudson.model
Methods in hudson.model that return RetentionStrategyModifier and TypeMethodDescriptionabstract RetentionStrategy
Computer.getRetentionStrategy()
RetentionStrategy
associated with this computer.Slave.getRetentionStrategy()
Methods in hudson.model that return types with arguments of type RetentionStrategyModifier and TypeMethodDescriptionfinal List<Descriptor<RetentionStrategy<?>>>
Slave.SlaveDescriptor.retentionStrategyDescriptors
(Slave it) Returns the list ofRetentionStrategy
descriptors appropriate to the suppliedSlave
.Methods in hudson.model with parameters of type RetentionStrategyModifier and TypeMethodDescriptionvoid
Slave.setRetentionStrategy
(RetentionStrategy availabilityStrategy) Constructors in hudson.model with parameters of type RetentionStrategyModifierConstructorDescriptionprotected
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
Subclasses of RetentionStrategy in hudson.slavesModifier 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.Fields in hudson.slaves declared as RetentionStrategyModifier and TypeFieldDescriptionstatic final RetentionStrategy<Computer>
RetentionStrategy.NOOP
Dummy instance that doesn't do any attempt to retention.Fields in hudson.slaves with type parameters of type RetentionStrategyModifier and TypeFieldDescriptionstatic final DescriptorList<RetentionStrategy<?>>
RetentionStrategy.LIST
Methods in hudson.slaves that return RetentionStrategyMethods in hudson.slaves that return types with arguments of type RetentionStrategyModifier 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.Constructors in hudson.slaves with parameters of type RetentionStrategyModifierConstructorDescriptionprotected
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
Methods in jenkins.model that return RetentionStrategyMethods in jenkins.model that return types with arguments of type RetentionStrategyModifier and TypeMethodDescriptionJenkins.getRetentionStrategy
(String shortClassName) Gets the retention strategy descriptor by name.
Slave.SlaveDescriptor.retentionStrategyDescriptors(Slave)