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 RetentionStrategyComputer. getRetentionStrategy()RetentionStrategyassociated with this computer.RetentionStrategySlave. 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 ofRetentionStrategydescriptors appropriate to the suppliedSlave.Methods in hudson.model with parameters of type RetentionStrategy Modifier and Type Method Description voidSlave. 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 classCloudRetentionStrategyRetentionStrategyimplementation forAbstractCloudComputerthat terminates it if it remains idle for X minutes.classCloudSlaveRetentionStrategy<T extends Computer>Default convenience implementation ofRetentionStrategyfor agents provisioned fromCloud.static classRetentionStrategy.AlwaysRetentionStrategythat tries to keep the node online all the time.static classRetentionStrategy.DemandRetentionStrategythat tries to keep the node offline when not in use.classSimpleScheduledRetentionStrategyRetentionStrategythat controls the agent based on a schedule.Fields in hudson.slaves declared as RetentionStrategy Modifier and Type Field Description static RetentionStrategy<Computer>RetentionStrategy. NOOPDummy 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. LISTMethods in hudson.slaves that return RetentionStrategy Modifier and Type Method Description RetentionStrategySlaveComputer. 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 registeredRetentionStrategydescriptors.static DescriptorExtensionList<RetentionStrategy<?>,Descriptor<RetentionStrategy<?>>>RetentionStrategy. all()Returns all the registeredRetentionStrategydescriptors.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 RetentionStrategyJenkins.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.
-