Uses of Class
hudson.model.Node
Packages that use 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
Fields in hudson.cli declared as Node -
Uses of Node in hudson.cli.handlers
Constructor parameters in hudson.cli.handlers with type arguments of type NodeModifierConstructorDescriptionNodeOptionHandler
(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<Node> setter) -
Uses of Node in hudson.console
Methods in hudson.console with parameters of type Node -
Uses of Node in hudson.model
Subclasses of Node in hudson.modelModifier and TypeClassDescriptionclass
class
class
Information about a Hudson agent node.Methods in hudson.model that return NodeModifier 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.StaplerRequest req, net.sf.json.JSONObject form) Methods in hudson.model that return types with arguments of type NodeModifier 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()
Methods in hudson.model with parameters of type NodeModifier 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) Constructors in hudson.model with parameters of type Node -
Uses of Node in hudson.model.queue
Fields in hudson.model.queue declared as NodeModifier and TypeFieldDescriptionfinal Node
CauseOfBlockage.BecauseNodeIsBusy.node
final Node
CauseOfBlockage.BecauseNodeIsNotAcceptingTasks.node
final Node
CauseOfBlockage.BecauseNodeIsOffline.node
final Node
MappingWorksheet.ExecutorChunk.node
Methods in hudson.model.queue that return NodeModifier and TypeMethodDescriptionQueueTaskFilter.getLastBuiltOn()
default Node
SubTask.getLastBuiltOn()
If the previous execution of this task run on a certain node and this task prefers to run on the same node, return that.Methods in hudson.model.queue with parameters of type NodeModifier 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)
Constructors in hudson.model.queue with parameters of type Node -
Uses of Node in hudson.scm
Methods in hudson.scm with parameters of type NodeModifier 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
Methods in hudson.security with parameters of type Node -
Uses of Node in hudson.slaves
Classes in hudson.slaves with type parameters of type NodeSubclasses of Node in hudson.slavesModifier 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.Fields in hudson.slaves declared as NodeFields in hudson.slaves with type parameters of type NodeModifier 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.Methods in hudson.slaves that return NodeModifier and TypeMethodDescriptionEphemeralNode.asNode()
Type-safe cast.NodeList.remove
(int index) Methods in hudson.slaves that return types with arguments of type NodeModifier and TypeMethodDescriptionNodeDescriptor.all()
Returns all the registeredNodeDescriptor
descriptors.Methods in hudson.slaves with parameters of type NodeModifier 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
Method parameters in hudson.slaves with type arguments of type NodeModifier and TypeMethodDescriptionboolean
NodeList.addAll
(int index, Collection<? extends Node> c) boolean
NodeList.addAll
(Collection<? extends Node> c) Constructors in hudson.slaves with parameters of type NodeConstructor parameters in hudson.slaves with type arguments of type NodeModifierConstructorDescriptionprotected
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
Methods in hudson.tasks with parameters of type Node -
Uses of Node in hudson.tools
Methods in hudson.tools with parameters of type NodeModifier 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.Method parameters in hudson.tools with type arguments of type NodeModifier and TypeMethodDescriptionboolean
ToolLocationNodeProperty.DescriptorImpl.isApplicable
(Class<? extends Node> nodeType) -
Uses of Node in hudson.util
Methods in hudson.util with parameters of type Node -
Uses of Node in jenkins.model
Subclasses of Node in jenkins.modelFields in jenkins.model with type parameters of type NodeModifier and TypeFieldDescriptionprotected final ConcurrentMap<Node,
Computer> Jenkins.computers
Computer
s in this Jenkins system.Methods in jenkins.model that return NodeModifier and TypeMethodDescriptionGets the agent node of the give name, hooked under this Jenkins.Returns the named node.Jenkins.getOrLoadNode
(String nodeName) Methods in jenkins.model that return types with arguments of type NodeModifier and TypeMethodDescriptionprotected ConcurrentMap<Node,
Computer> Jenkins.getComputerMap()
Jenkins.getNodes()
Nodes.getNodes()
Returns the list of nodes.UnlabeledLoadStatistics.getNodes()
Methods in jenkins.model with parameters of type NodeModifier 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.Method parameters in jenkins.model with type arguments of type Node -
Uses of Node in jenkins.slaves
Methods in jenkins.slaves with parameters of type NodeModifier and TypeMethodDescriptionabstract FilePath
WorkspaceLocator.locate
(TopLevelItem item, Node node) Allows extensions to customize the workspace path.
Slave.SlaveDescriptor.nodePropertyDescriptors(Slave)