Uses of Class
hudson.model.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
Modifier and TypeMethodDescriptionConsoleLogFilter.decorateLogger
(Computer computer, OutputStream logger) Called to decorate logger for master/agent communication. -
Uses of Computer in hudson.logging
Modifier and TypeMethodDescriptionLogRecorder.getSlaveLogRecords()
Gets a view of log records per agent matching this recorder.Modifier and TypeMethodDescriptionvoid
LogRecorder.ComputerLogInitializer.preOnline
(Computer c, hudson.remoting.Channel channel, FilePath root, TaskListener listener) -
Uses of Computer in hudson.model
Modifier and TypeClassDescriptionstatic final class
Deprecated.only here for backward compModifier and TypeMethodDescriptionprotected abstract Computer
Node.createComputer()
Slave.createComputer()
static Computer
Computer.currentComputer()
Gets the currentComputer
that the build is running.Computer[]
ComputerSet.get_all()
Deprecated.UseComputerSet.getComputers()
instead.ComputerPanelBox.getComputer()
ComputerSet.getDynamic
(String token, org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) Executor.getOwner()
static Computer
Computer.resolveForCLI
(String name) Used for CLI binding.final Computer
Node.toComputer()
Gets the correspondingComputer
object.Modifier and TypeMethodDescriptionprotected abstract ConcurrentMap<Node,
Computer> AbstractCIBase.getComputerMap()
View.getComputers()
Computer.getLogText()
Used to URL-bindAnnotatedLargeText
.Modifier 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.InternalComputerListener.onOnline
(Computer c, TaskListener listener) void
ComputerPanelBox.setComputer
(Computer computer) -
Uses of Computer in hudson.model.queue
Modifier 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
Modifier 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()
Modifier 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
-
Uses of Computer in hudson.slaves
Modifier 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.Modifier and TypeClassDescriptionclass
AbstractCloudComputer<T extends AbstractCloudSlave>
Partial implementation ofComputer
to be used in conjunction withAbstractCloudSlave
.class
Modifier and TypeFieldDescriptionstatic final RetentionStrategy<Computer>
RetentionStrategy.NOOP
Dummy instance that doesn't do any attempt to retention.Modifier and TypeMethodDescriptionJNLPLauncher.getRemotingOptionsUnix
(Computer computer) JNLPLauncher.getRemotingOptionsWindows
(Computer computer) JNLPLauncher.getWorkDirOptions
(Computer computer) Gets work directory options as a String.void
Indicates that the computer has become idle.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
Modifier and TypeFieldDescriptionprotected final ConcurrentMap<Node,
Computer> Jenkins.computers
Computer
s in this Jenkins system.Modifier and TypeMethodDescriptionJenkins.createComputer()
Jenkins.getComputer
(String name) Computer[]
Jenkins.getComputers()
Gets the read-only list of allComputer
s.Modifier and TypeMethodDescriptionprotected ConcurrentMap<Node,
Computer> Jenkins.getComputerMap()
Jenkins.getComputersCollection()
Modifier and TypeMethodDescriptionDeprecated. -
Uses of Computer in jenkins.slaves
Modifier and TypeMethodDescriptionvoid
StandardOutputSwapper.preOnline
(Computer c, hudson.remoting.Channel channel, FilePath root, TaskListener listener) -
Uses of Computer in jenkins.slaves.restarter
Modifier and TypeMethodDescriptionvoid
JnlpSlaveRestarterInstaller.onOnline
(Computer c, TaskListener listener) -
Uses of Computer in jenkins.util
Modifier and TypeMethodDescriptionvoid
SystemProperties.AgentCopier.preOnline
(Computer c, hudson.remoting.Channel channel, FilePath root, TaskListener listener) -
Uses of Computer in jenkins.widgets
Modifier and TypeMethodDescription