Uses of Class
hudson.model.Node
Package
Description
Server-side CLI commands for Hudson.
OptionHandler
implementations for Hudson.Beef up the plain text console output by adding HTML markup.
Core object model that are bound to URLs via stapler, rooted at
Jenkins
.Jenkins's interface with source code management systems.
Security-related code.
Code related to agents.
Other miscellaneous utility code
-
Uses of Node in hudson
Modifier and TypeMethodDescriptionabstract Launcher
Called fromcreateLauncher(TaskListener)
to decorate the launchers.final Launcher
Launcher.decorateFor
(Node node) Returns a decoratedLauncher
for the given node.Modifier and TypeMethodDescriptionstatic List<NodePropertyDescriptor>
Functions.getNodePropertyDescriptors
(Class<? extends Node> clazz) Deprecated. -
Uses of Node in hudson.cli
-
Uses of Node in hudson.cli.handlers
ModifierConstructorDescriptionNodeOptionHandler
(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<Node> setter) -
Uses of Node in hudson.console
-
Uses of Node in hudson.model
Modifier and TypeClassDescriptionclass
class
class
Information about a Hudson agent node.Modifier and TypeMethodDescriptionAbstractBuild.getBuiltOn()
Returns aSlave
on which this build was done.protected final Node
AbstractBuild.AbstractBuildExecution.getCurrentNode()
Returns the currentNode
on which we are building.AbstractProject.getLastBuiltOn()
Gets theNode
where this project was last built on.Computer.getNode()
Returns theNode
that this computer represents.Queue.JobOffer.getNode()
Node.reconfigure
(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject form) Node.reconfigure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form) Deprecated.Modifier and TypeMethodDescriptionprotected abstract ConcurrentMap<Node,
Computer> AbstractCIBase.getComputerMap()
AbstractCIBase.getNodes()
Label.getNodes()
Gets allNode
s that belong to this label.LoadStatistics.getNodes()
Returns theNode
instances that this statistic counts.OverallLoadStatistics.getNodes()
Label.getSortedNodes()
Modifier and TypeMethodDescriptionboolean
protected WorkspaceList.Lease
AbstractBuild.AbstractBuildExecution.decideWorkspace
(Node n, WorkspaceList wsl) Allocates the workspace fromWorkspaceList
.abstract Collection<LabelAtom>
LabelFinder.findLabels
(Node node) Find the labels that the node supports.JDK.forNode
(Node node, TaskListener log) AbstractProject.getEnvironment
(Node node, TaskListener listener) Job.getEnvironment
(Node node, TaskListener listener) Creates an environment variable override for launching processes for this project.static boolean
JDK.isDefaultJDKValid
(Node n) Checks if "java" is in PATH on the given node.final boolean
void
AbstractProject.setAssignedNode
(Node l) Assigns this job to the given node.protected void
protected void
AbstractCIBase.updateNewComputer
(Node n, boolean automaticAgentLaunch) -
Uses of Node in hudson.model.queue
Modifier and TypeFieldDescriptionfinal Node
CauseOfBlockage.BecauseNodeIsBusy.node
final Node
CauseOfBlockage.BecauseNodeIsNotAcceptingTasks.node
final Node
CauseOfBlockage.BecauseNodeIsOffline.node
final Node
MappingWorksheet.ExecutorChunk.node
Modifier and TypeMethodDescriptionQueueTaskFilter.getLastBuiltOn()
Deprecated.default Node
SubTask.getLastBuiltOn()
Deprecated.Unused.Modifier and TypeMethodDescriptionQueueTaskDispatcher.canTake
(Node node, Queue.BuildableItem item) Called whenQueue
is deciding where to execute the given task.QueueTaskDispatcher.canTake
(Node node, Queue.Task task) Deprecated.since 1.413 UseQueueTaskDispatcher.canTake(Node, Queue.BuildableItem)
-
Uses of Node in hudson.scm
Modifier and TypeMethodDescriptionboolean
SCM.processWorkspaceBeforeDeletion
(AbstractProject<?, ?> project, FilePath workspace, Node node) Deprecated.boolean
SCM.processWorkspaceBeforeDeletion
(Job<?, ?> project, FilePath workspace, Node node) Called before a workspace is deleted on the given node, to provide SCM an opportunity to perform clean up. -
Uses of Node in hudson.security
-
Uses of Node in hudson.slaves
Modifier and TypeClassDescriptionclass
Partial implementation ofSlave
to be used byAbstractCloudImpl
.final class
DefaultSlave
implementation for computers that do not belong to a higher level structure, like grid or cloud.Modifier and TypeFieldDescriptionstatic final DescriptorList<Node>
NodeDescriptor.ALL
Deprecated.as of 1.286 UseNodeDescriptor.all()
for read access, andExtension
for registration.NodeProvisioner.PlannedNode.future
Used to launch and return aNode
object.Modifier and TypeMethodDescriptionEphemeralNode.asNode()
Type-safe cast.NodeList.remove
(int index) Modifier and TypeMethodDescriptionNodeDescriptor.all()
Returns all the registeredNodeDescriptor
descriptors.Modifier and TypeMethodDescriptionvoid
boolean
static List<NodePropertyDescriptor>
List up allNodePropertyDescriptor
s that are applicable for the given project.NodeSpecific.forNode
(Node node, TaskListener log) Returns a specialized copy of T for functioning in the given node.protected ComputerLauncher
SlaveComputer.grabLauncher
(Node node) protected void
Remove the node.void
CloudProvisioningListener.onCommit
(NodeProvisioner.PlannedNode plannedNode, Node node) Called when thenode
is fully connected in the Jenkins.void
CloudProvisioningListener.onComplete
(NodeProvisioner.PlannedNode plannedNode, Node node) Called when theNodeProvisioner.PlannedNode.future
completes.void
CloudProvisioningListener.onRollback
(NodeProvisioner.PlannedNode plannedNode, Node node, Throwable t) Called whenJenkins.addNode(Node)
throws an exception.protected void
Modifier and TypeMethodDescriptionboolean
NodeList.addAll
(int index, Collection<? extends Node> c) boolean
NodeList.addAll
(Collection<? extends Node> c) ModifierConstructorDescriptionprotected
NodeDescriptor
(Class<? extends Node> clazz) NodeList
(Collection<? extends Node> c) PlannedNode
(String displayName, Future<Node> future, int numExecutors) Construct a PlannedNode instance withoutCloud
callback for finalization. -
Uses of Node in hudson.tasks
-
Uses of Node in hudson.tools
Modifier and TypeMethodDescriptionboolean
Checks whether this installer can be applied to a given node.InstallerTranslator.getToolHome
(Node node, ToolInstallation tool, TaskListener log) static String
ToolLocationNodeProperty.getToolHome
(Node node, ToolInstallation installation, TaskListener log) Deprecated.since 2009-04-09.abstract String
ToolLocationTranslator.getToolHome
(Node node, ToolInstallation installation, TaskListener log) Called for eachToolInstallation.translateFor(Node, TaskListener)
invocations (which normally means it's invoked for eachNodeSpecific.forNode(Node, TaskListener)
) to translate the tool location into the node specific location.AbstractCommandInstaller.performInstallation
(ToolInstallation tool, Node node, TaskListener log) DownloadFromUrlInstaller.performInstallation
(ToolInstallation tool, Node node, TaskListener log) abstract FilePath
ToolInstaller.performInstallation
(ToolInstallation tool, Node node, TaskListener log) Ensure that the configured tool is really installed.ZipExtractionInstaller.performInstallation
(ToolInstallation tool, Node node, TaskListener log) protected final FilePath
ToolInstaller.preferredLocation
(ToolInstallation tool, Node node) Convenience method to find a location to install a tool.ToolInstallation.translate
(Node node, EnvVars envs, TaskListener listener) Performs a necessary variable/environment/context expansion.protected String
ToolInstallation.translateFor
(Node node, TaskListener log) Finds a tool on a node.Modifier and TypeMethodDescriptionboolean
ToolLocationNodeProperty.DescriptorImpl.isApplicable
(Class<? extends Node> nodeType) -
Uses of Node in hudson.util
-
Uses of Node in jenkins.model
Modifier and TypeFieldDescriptionprotected final ConcurrentMap<Node,
Computer> Jenkins.computers
Computer
s in this Jenkins system.Modifier and TypeMethodDescriptionGets the agent node of the give name, hooked under this Jenkins.Returns the named node.Jenkins.getOrLoadNode
(String nodeName) Modifier and TypeMethodDescriptionprotected ConcurrentMap<Node,
Computer> Jenkins.getComputerMap()
Jenkins.getNodes()
Nodes.getNodes()
Returns the list of nodes.UnlabeledLoadStatistics.getNodes()
Modifier and TypeMethodDescriptionAdds a nodevoid
Adds one moreNode
to Jenkins.void
Adds a node.protected boolean
Allows to veto node loading.static void
NodeListener.fireOnCreated
(Node node) Inform listeners that node is being created.static void
NodeListener.fireOnDeleted
(Node node) Inform listeners that node is being removed.static void
NodeListener.fireOnUpdated
(Node oldOne, Node newOne) Inform listeners that node is being updated.Nodes.getConfigFile
(Node node) Nodes.getRootDirFor
(Node node) protected void
Node is being created.protected void
Node is being deleted.protected void
Node is being updated.void
Jenkins.removeNode
(Node n) Removes aNode
from Jenkins.void
Nodes.removeNode
(Node node) Removes a node.boolean
Nodes.replaceNode
(Node oldOne, Node newOne) Replace node of given name.void
void
Jenkins.unloadNode
(Node n) Unload a node from Jenkins without touching its configuration file.protected void
Jenkins.updateNewComputer
(Node n) boolean
Jenkins.updateNode
(Node n) boolean
Nodes.updateNode
(Node node) Updates an existing node on disk. -
Uses of Node in jenkins.slaves
Modifier and TypeMethodDescriptionabstract FilePath
WorkspaceLocator.locate
(TopLevelItem item, Node node) Allows extensions to customize the workspace path.
Slave.SlaveDescriptor.nodePropertyDescriptors(Slave)