Uses of Class
hudson.model.Computer
Packages that use Computer
Package
Description
Beef up the plain text console output by adding HTML markup.
Core object model that are bound to URLs via stapler, rooted at
Jenkins
.Code that monitors the health of agents
Security-related code.
Code related to agents.
-
Uses of Computer in hudson
Modifier and TypeMethodDescriptionLauncher.DecoratedLauncher.getComputer()
Launcher.getComputer()
Deprecated.since 2008-11-16.FilePath.toComputer()
-
Uses of Computer in hudson.console
Methods in hudson.console with parameters of type ComputerModifier and TypeMethodDescriptionConsoleLogFilter.decorateLogger
(Computer computer, OutputStream logger) Called to decorate logger for master/agent communication. -
Uses of Computer in hudson.logging
Methods in hudson.logging that return types with arguments of type ComputerModifier and TypeMethodDescriptionLogRecorder.getSlaveLogRecords()
Gets a view of log records per agent matching this recorder.Methods in hudson.logging with parameters of type ComputerModifier and TypeMethodDescriptionvoid
LogRecorder.ComputerLogInitializer.preOnline
(Computer c, hudson.remoting.Channel channel, FilePath root, TaskListener listener) -
Uses of Computer in hudson.model
Subclasses of Computer in hudson.modelModifier and TypeClassDescriptionstatic final class
Deprecated.only here for backward compFields in hudson.model declared as ComputerMethods in hudson.model that return ComputerModifier and TypeMethodDescriptionprotected abstract Computer
Node.createComputer()
Slave.createComputer()
static Computer
Computer.currentComputer()
Gets the currentComputer
that the build is running.Computer[]
ComputerSet.get_all()
ComputerPanelBox.getComputer()
ComputerSet.getDynamic
(String token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) Executor.getOwner()
static Computer
Computer.resolveForCLI
(String name) Used for CLI binding.final Computer
Node.toComputer()
Gets the correspondingComputer
object.Methods in hudson.model that return types with arguments of type ComputerModifier and TypeMethodDescriptionprotected abstract ConcurrentMap<Node,
Computer> AbstractCIBase.getComputerMap()
View.getComputers()
Computer.getLogText()
Used to URL-bindAnnotatedLargeText
.Methods in hudson.model with parameters of type ComputerModifier and TypeMethodDescriptionstatic List<ComputerPanelBox>
Create boxes for the given computer in its page.TransientComputerActionFactory.createAllFor
(Computer target) CreatesAction
s for a node, using all registeredTransientComputerActionFactory
s.abstract Collection<? extends Action>
Creates actions for the given computer.Queue.getBuildableItems
(Computer c) Gets all theQueue.BuildableItem
s that are waiting for an executor in the givenComputer
.protected void
AbstractCIBase.killComputer
(Computer c) void
Computer.DisplayExecutor.InternalComputerListener.onOnline
(Computer c, TaskListener listener) void
Node.InternalComputerListener.onOnline
(Computer c, TaskListener listener) void
ComputerPanelBox.setComputer
(Computer computer) Constructors in hudson.model with parameters of type Computer -
Uses of Computer in hudson.model.queue
Fields in hudson.model.queue declared as ComputerMethods in hudson.model.queue with parameters of type ComputerModifier and TypeMethodDescriptionLoadPredictor.CurrentlyRunningTasks.predict
(MappingWorksheet plan, Computer computer, long start, long eternity) Deprecated.as of 1.380 UseLoadPredictor.predict(MappingWorksheet, Computer, long, long)
LoadPredictor.predict
(MappingWorksheet plan, Computer computer, long start, long end) Estimates load starting from the 'start' timestamp, up to the 'end' timestamp. -
Uses of Computer in hudson.node_monitors
Methods in hudson.node_monitors that return types with arguments of type ComputerModifier and TypeMethodDescriptionAbstractAsyncNodeMonitorDescriptor.Result.getMonitoringData()
AbstractAsyncNodeMonitorDescriptor.Result.getSkipped()
Computers that were skipped during monitoring as they either do not have a channel (offline) or the monitor has not produced the Callable.AbstractAsyncNodeMonitorDescriptor.monitor()
Performs all monitoring concurrently.AbstractNodeMonitorDescriptor.monitor()
Performs monitoring across the board.protected Map<Computer,
DiskSpaceMonitorDescriptor.DiskSpace> DiskSpaceMonitorDescriptor.monitor()
protected Map<Computer,
ResponseTimeMonitor.Data> ResponseTimeMonitor.DescriptorImpl.monitor()
Methods in hudson.node_monitors with parameters of type ComputerModifier and TypeMethodDescriptionprotected abstract hudson.remoting.Callable<T,
IOException> AbstractAsyncNodeMonitorDescriptor.createCallable
(Computer c) Creates aCallable
that performs the monitoring when executed.protected hudson.remoting.Callable<String,
IOException> ArchitectureMonitor.DescriptorImpl.createCallable
(Computer c) protected hudson.remoting.Callable<ClockDifference,
IOException> ClockMonitor.DescriptorImpl.createCallable
(Computer c) protected hudson.remoting.Callable<DiskSpaceMonitorDescriptor.DiskSpace,
IOException> DiskSpaceMonitor.DescriptorImpl.createCallable
(Computer c) protected hudson.remoting.Callable<ResponseTimeMonitor.Data,
IOException> ResponseTimeMonitor.DescriptorImpl.createCallable
(Computer c) protected hudson.node_monitors.SwapSpaceMonitor.MonitorTask
SwapSpaceMonitor.DescriptorImpl.createCallable
(Computer c) protected hudson.remoting.Callable<DiskSpaceMonitorDescriptor.DiskSpace,
IOException> TemporarySpaceMonitor.DescriptorImpl.createCallable
(Computer c) Obtains the monitoring result currently available, or null if no data is available.Obtains the monitoring result currently available, or null if no data is available.ClockMonitor.getDifferenceFor
(Computer c) DiskSpaceMonitor.getFreeSpace
(Computer c) TemporarySpaceMonitor.getFreeSpace
(Computer c) protected long
AbstractDiskSpaceMonitor.getThresholdBytes
(Computer c) long
DiskSpaceMonitor.getThresholdBytes
(Computer c) long
TemporarySpaceMonitor.getThresholdBytes
(Computer c) protected long
AbstractDiskSpaceMonitor.getWarningThresholdBytes
(Computer c) protected long
DiskSpaceMonitor.getWarningThresholdBytes
(Computer c) protected long
TemporarySpaceMonitor.getWarningThresholdBytes
(Computer c) void
DiskSpaceMonitorDescriptor.markNodeOfflineOrOnline
(Computer c, DiskSpaceMonitorDescriptor.DiskSpace size, AbstractDiskSpaceMonitor monitor) protected boolean
AbstractNodeMonitorDescriptor.markOffline
(Computer c) Deprecated.as of 1.320 UseAbstractNodeMonitorDescriptor.markOffline(Computer, OfflineCause)
to specify the cause.protected boolean
AbstractNodeMonitorDescriptor.markOffline
(Computer c, OfflineCause oc) Utility method to mark the computer offline for derived classes.protected boolean
AbstractNodeMonitorDescriptor.markOnline
(Computer c) Utility method to mark the computer online for derived classes.protected T
protected abstract T
Performs monitoring of the given computer object.void
NodeMonitorUpdater.onOnline
(Computer c, TaskListener listener) Triggers the update with 5 seconds quiet period, to avoid triggering data check too often when multiple agents become online at about the same time.void
NodeMonitorUpdater.onTemporarilyOnline
(Computer c) -
Uses of Computer in hudson.security
Methods in hudson.security with parameters of type Computer -
Uses of Computer in hudson.slaves
Classes in hudson.slaves with type parameters of type ComputerModifier and TypeClassDescriptionclass
CloudSlaveRetentionStrategy<T extends Computer>
Default convenience implementation ofRetentionStrategy
for agents provisioned fromCloud
.class
RetentionStrategy<T extends Computer>
Controls when to takeComputer
offline, bring it back online, or even to destroy it.Subclasses of Computer in hudson.slavesModifier and TypeClassDescriptionclass
AbstractCloudComputer<T extends AbstractCloudSlave>
Partial implementation ofComputer
to be used in conjunction withAbstractCloudSlave
.class
Fields in hudson.slaves with type parameters of type ComputerModifier and TypeFieldDescriptionstatic final RetentionStrategy<Computer>
RetentionStrategy.NOOP
Dummy instance that doesn't do any attempt to retention.Methods in hudson.slaves with parameters of type ComputerModifier and TypeMethodDescriptionJNLPLauncher.getRemotingOptionsUnix
(Computer computer) JNLPLauncher.getRemotingOptionsWindows
(Computer computer) JNLPLauncher.getWorkDirOptions
(Computer computer) Gets work directory options as a String.void
ComputerListener.onLaunchFailure
(Computer c, TaskListener taskListener) Called when an agent attempted to connect viaComputerLauncher
but it failed.void
Deprecated.since 1.571.void
ComputerListener.onOffline
(Computer c, OfflineCause cause) Called right after aComputer
went offline.void
Deprecated.as of 1.292 UseComputerListener.onOnline(Computer, TaskListener)
void
ComputerListener.onOnline
(Computer c, TaskListener listener) Called right after aComputer
comes online.void
ComputerListener.onTemporarilyOffline
(Computer c, OfflineCause cause) Indicates that the computer was marked as temporarily offline by the administrator.void
ComputerListener.onTemporarilyOnline
(Computer c) Indicates that the computer was marked as temporarily online by the administrator.void
ComputerListener.preLaunch
(Computer c, TaskListener taskListener) Called before aComputerLauncher
is asked to launch a connection withComputer
.void
ChannelPinger.preOnline
(Computer c, hudson.remoting.Channel channel, FilePath root, TaskListener listener) void
ComputerListener.preOnline
(Computer c, hudson.remoting.Channel channel, FilePath root, TaskListener listener) Called before aComputer
is marked online. -
Uses of Computer in jenkins.model
Subclasses of Computer in jenkins.modelFields in jenkins.model with type parameters of type ComputerModifier and TypeFieldDescriptionprotected final ConcurrentMap<Node,
Computer> Jenkins.computers
Computer
s in this Jenkins system.Methods in jenkins.model that return ComputerModifier and TypeMethodDescriptionJenkins.createComputer()
Jenkins.getComputer
(String name) Computer[]
Jenkins.getComputers()
Gets the read-only list of allComputer
s.Methods in jenkins.model that return types with arguments of type ComputerModifier and TypeMethodDescriptionprotected ConcurrentMap<Node,
Computer> Jenkins.getComputerMap()
Methods in jenkins.model with parameters of type ComputerModifier and TypeMethodDescriptionAdds a computer -
Uses of Computer in jenkins.slaves
Methods in jenkins.slaves with parameters of type ComputerModifier and TypeMethodDescriptionvoid
StandardOutputSwapper.preOnline
(Computer c, hudson.remoting.Channel channel, FilePath root, TaskListener listener) -
Uses of Computer in jenkins.slaves.restarter
Methods in jenkins.slaves.restarter with parameters of type ComputerModifier and TypeMethodDescriptionvoid
JnlpSlaveRestarterInstaller.onOnline
(Computer c, TaskListener listener) -
Uses of Computer in jenkins.util
Methods in jenkins.util with parameters of type ComputerModifier and TypeMethodDescriptionvoid
SystemProperties.AgentCopier.preOnline
(Computer c, hudson.remoting.Channel channel, FilePath root, TaskListener listener) -
Uses of Computer in jenkins.widgets
Methods in jenkins.widgets that return types with arguments of type ComputerModifier and TypeMethodDescriptionExecutorsWidget.getComputers()
ExecutorsWidget.ComputerFactoryImpl.type()
Methods in jenkins.widgets with parameters of type ComputerModifier and TypeMethodDescriptionConstructor parameters in jenkins.widgets with type arguments of type Computer