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 RetentionStrategyComputer.getRetentionStrategy()RetentionStrategyassociated 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 ofRetentionStrategydescriptors appropriate to the suppliedSlave.Methods in hudson.model with parameters of type RetentionStrategyModifier and TypeMethodDescriptionvoidSlave.setRetentionStrategy(RetentionStrategy availabilityStrategy) Constructors in hudson.model with parameters of type RetentionStrategyModifierConstructorDescriptionprotectedSlave(String name, String nodeDescription, String remoteFS, int numExecutors, Node.Mode mode, String labelString, ComputerLauncher launcher, RetentionStrategy retentionStrategy) Deprecated.since 2009-02-20.protectedSlave(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.protectedSlave(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 TypeClassDescriptionclassRetentionStrategyimplementation forAbstractCloudComputerthat terminates it if it remains idle for X minutes.classCloudSlaveRetentionStrategy<T extends Computer>Default convenience implementation ofRetentionStrategyfor agents provisioned fromCloud.static classRetentionStrategythat tries to keep the node online all the time.static classRetentionStrategythat tries to keep the node offline when not in use.classRetentionStrategythat controls the agent based on a schedule.Fields in hudson.slaves declared as RetentionStrategyModifier and TypeFieldDescriptionstatic final RetentionStrategy<Computer>RetentionStrategy.NOOPDummy 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.LISTMethods 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 registeredRetentionStrategydescriptors.static DescriptorExtensionList<RetentionStrategy<?>,Descriptor<RetentionStrategy<?>>> RetentionStrategy.all()Returns all the registeredRetentionStrategydescriptors.Constructors in hudson.slaves with parameters of type RetentionStrategyModifierConstructorDescriptionprotectedAbstractCloudSlave(String name, String nodeDescription, String remoteFS, int numExecutors, Node.Mode mode, String labelString, ComputerLauncher launcher, RetentionStrategy retentionStrategy, List<? extends NodeProperty<?>> nodeProperties) Deprecated.since 2.184protectedAbstractCloudSlave(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)