Package hudson.slaves
package hudson.slaves
Code related to agents.
-
ClassDescriptionAbstractCloudComputer<T extends AbstractCloudSlave>Partial implementation of
Computerto be used in conjunction withAbstractCloudSlave.Partial implementation ofSlaveto be used byAbstractCloudImpl.Establish a periodic ping to keep connections betweenagentsand the main Jenkins node alive.Various convenient subtype ofChannels.CreatesNodes to dynamically expand/shrink the agents attached to Hudson.Parameter object forCloud.RetentionStrategyimplementation forAbstractCloudComputerthat terminates it if it remains idle for X minutes.CloudSlaveRetentionStrategy<T extends Computer>Default convenience implementation ofRetentionStrategyfor agents provisioned fromCloud.Factory ofComputerLauncher.Extension point to allow control over howComputers are "launched", meaning how they get connected to their agent program.ComputerLauncherfilter that can be used as a base class for decorators.Receives notifications about status changes ofComputers.Periodically checks the agents and try to reconnect dead agents.Makes sure that connections to agents are alive, and if they are not, cut them off.Base implementation ofComputerLauncherthat to be used by launchers that perform some initialization (typically something cloud/v12n related to power up the machine), and then delegate to anotherComputerLauncherto connect.DefaultSlaveimplementation for computers that do not belong to a higher level structure, like grid or cloud.NodePropertythat sets additional environment variables.Nodes that are not persisted as configuration by itself.ComputerLaunchervia inbound connections.Generated localization support class.DescriptorforSlave.CopyOnWriteArrayListforNodethat has special serialization semantics of not serializingEphemeralNodes.Converterimplementation for XStream.NodeProperty<N extends Node>Extensible property ofNode.Descriptor forNodeProperty.Periodically invoke NodeProvisionersThe node addition activity in progress.The default strategy.Extension point for node provisioning strategies.Represents the decision taken by an individualNodeProvisioner.Strategy.NodeSpecific<T extends NodeSpecific<T>>Represents any concept that can be adapted for a node.Represents a cause that puts a computer offline.Caused by unexpected channel termination.Caused by idle period.Caused by failure to launch.Deprecated.Only exists for backward compatibility.OfflineCausethat renders a static text, but without any further UI.Taken offline by user.RetentionStrategy<T extends Computer>Controls when to takeComputeroffline, bring it back online, or even to destroy it.RetentionStrategythat tries to keep the node online all the time.RetentionStrategythat tries to keep the node offline when not in use.RetentionStrategythat controls the agent based on a schedule.Used byComputerto keep track of workspaces that are actively in use.Book keeping for workspace allocation.Represents a leased workspace that needs to be returned later.