Uses of Class
hudson.slaves.RetentionStrategy
-
Packages that use RetentionStrategy Package Description hudson hudson.model Core object model that are bound to URLs via stapler, rooted atJenkins
.hudson.slaves Code related to agents.jenkins.model -
-
Uses of RetentionStrategy in hudson
Methods in hudson that return types with arguments of type RetentionStrategy Modifier and Type Method Description static List<Descriptor<RetentionStrategy<?>>>
Functions. getRetentionStrategyDescriptors()
Deprecated. -
Uses of RetentionStrategy in hudson.model
Methods in hudson.model that return RetentionStrategy Modifier and Type Method Description abstract RetentionStrategy
Computer. getRetentionStrategy()
RetentionStrategy
associated with this computer.RetentionStrategy
Slave. getRetentionStrategy()
Methods in hudson.model that return types with arguments of type RetentionStrategy Modifier and Type Method Description 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 RetentionStrategy Modifier and Type Method Description void
Slave. setRetentionStrategy(RetentionStrategy availabilityStrategy)
Constructors in hudson.model with parameters of type RetentionStrategy Constructor Description Slave(String name, String nodeDescription, String remoteFS, int numExecutors, Node.Mode mode, String labelString, ComputerLauncher launcher, RetentionStrategy retentionStrategy)
Deprecated.since 2009-02-20.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.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.slaves Modifier and Type Class Description class
CloudRetentionStrategy
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.Always
RetentionStrategy
that tries to keep the node online all the time.static class
RetentionStrategy.Demand
RetentionStrategy
that tries to keep the node offline when not in use.class
SimpleScheduledRetentionStrategy
RetentionStrategy
that controls the agent based on a schedule.Fields in hudson.slaves declared as RetentionStrategy Modifier and Type Field Description static RetentionStrategy<Computer>
RetentionStrategy. NOOP
Dummy instance that doesn't do any attempt to retention.Fields in hudson.slaves with type parameters of type RetentionStrategy Modifier and Type Field Description static DescriptorList<RetentionStrategy<?>>
RetentionStrategy. LIST
Methods in hudson.slaves that return RetentionStrategy Modifier and Type Method Description RetentionStrategy
SlaveComputer. getRetentionStrategy()
Methods in hudson.slaves that return types with arguments of type RetentionStrategy Modifier and Type Method Description static 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 RetentionStrategy Constructor Description 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.184AbstractCloudSlave(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 RetentionStrategy Modifier and Type Method Description RetentionStrategy
Jenkins.MasterComputer. getRetentionStrategy()
Methods in jenkins.model that return types with arguments of type RetentionStrategy Modifier and Type Method Description Descriptor<RetentionStrategy<?>>
Jenkins. getRetentionStrategy(String shortClassName)
Gets the retention strategy descriptor by name.
-