Package hudson.slaves
package hudson.slaves
Code related to agents.
-
ClassDescriptionAbstractCloudComputer<T extends AbstractCloudSlave>Partial implementation of
Computer
to be used in conjunction withAbstractCloudSlave
.Partial implementation ofSlave
to be used byAbstractCloudImpl
.Establish a periodic ping to keep connections betweenagents
and the main Jenkins node alive.Various convenient subtype ofChannel
s.CreatesNode
s to dynamically expand/shrink the agents attached to Hudson.Parameter object forCloud
.RetentionStrategy
implementation forAbstractCloudComputer
that terminates it if it remains idle for X minutes.CloudSlaveRetentionStrategy<T extends Computer>Default convenience implementation ofRetentionStrategy
for agents provisioned fromCloud
.Factory ofComputerLauncher
.Extension point to allow control over howComputer
s are "launched", meaning how they get connected to their agent program.ComputerLauncher
filter that can be used as a base class for decorators.Receives notifications about status changes ofComputer
s.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 ofComputerLauncher
that to be used by launchers that perform some initialization (typically something cloud/v12n related to power up the machine), and then delegate to anotherComputerLauncher
to connect.DefaultSlave
implementation for computers that do not belong to a higher level structure, like grid or cloud.NodeProperty
that sets additional environment variables.Node
s that are not persisted as configuration by itself.ComputerLauncher
via inbound connections.Generated localization support class.Descriptor
forSlave
.CopyOnWriteArrayList
forNode
that has special serialization semantics of not serializingEphemeralNode
s.Converter
implementation 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.OfflineCause
that renders a static text, but without any further UI.Taken offline by user.RetentionStrategy<T extends Computer>Controls when to takeComputer
offline, bring it back online, or even to destroy it.RetentionStrategy
that tries to keep the node online all the time.RetentionStrategy
that tries to keep the node offline when not in use.RetentionStrategy
that controls the agent based on a schedule.Used byComputer
to keep track of workspaces that are actively in use.Book keeping for workspace allocation.Represents a leased workspace that needs to be returned later.