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 TypeMethodDescriptionvoidLogRecorder.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 classDeprecated.only here for backward compFields in hudson.model declared as ComputerMethods in hudson.model that return ComputerModifier and TypeMethodDescriptionprotected abstract ComputerNode.createComputer()Slave.createComputer()static ComputerComputer.currentComputer()Gets the currentComputerthat 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 ComputerComputer.resolveForCLI(String name) Used for CLI binding.final ComputerNode.toComputer()Gets the correspondingComputerobject.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) CreatesActions for a node, using all registeredTransientComputerActionFactorys.abstract Collection<? extends Action> Creates actions for the given computer.Queue.getBuildableItems(Computer c) Gets all theQueue.BuildableItems that are waiting for an executor in the givenComputer.voidComputer.InternalComputerListener.onOnline(Computer c, TaskListener listener) voidComputerPanelBox.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 aCallablethat 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.MonitorTaskSwapSpaceMonitor.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 longAbstractDiskSpaceMonitor.getThresholdBytes(Computer c) longDiskSpaceMonitor.getThresholdBytes(Computer c) longTemporarySpaceMonitor.getThresholdBytes(Computer c) protected longAbstractDiskSpaceMonitor.getWarningThresholdBytes(Computer c) protected longDiskSpaceMonitor.getWarningThresholdBytes(Computer c) protected longTemporarySpaceMonitor.getWarningThresholdBytes(Computer c) voidDiskSpaceMonitorDescriptor.markNodeOfflineOrOnline(Computer c, DiskSpaceMonitorDescriptor.DiskSpace size, AbstractDiskSpaceMonitor monitor) protected booleanAbstractNodeMonitorDescriptor.markOffline(Computer c) Deprecated.as of 1.320 UseAbstractNodeMonitorDescriptor.markOffline(Computer, OfflineCause)to specify the cause.protected booleanAbstractNodeMonitorDescriptor.markOffline(Computer c, OfflineCause oc) Utility method to mark the computer offline for derived classes.protected booleanAbstractNodeMonitorDescriptor.markOnline(Computer c) Utility method to mark the computer online for derived classes.protected Tprotected abstract TPerforms monitoring of the given computer object.voidNodeMonitorUpdater.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.voidNodeMonitorUpdater.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 TypeClassDescriptionclassCloudSlaveRetentionStrategy<T extends Computer>Default convenience implementation ofRetentionStrategyfor agents provisioned fromCloud.classRetentionStrategy<T extends Computer>Controls when to takeComputeroffline, bring it back online, or even to destroy it.Subclasses of Computer in hudson.slavesModifier and TypeClassDescriptionclassAbstractCloudComputer<T extends AbstractCloudSlave>Partial implementation ofComputerto be used in conjunction withAbstractCloudSlave.classFields in hudson.slaves with type parameters of type ComputerModifier and TypeFieldDescriptionstatic final RetentionStrategy<Computer> RetentionStrategy.NOOPDummy 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.voidIndicates that the computer has become idle.voidComputerListener.onLaunchFailure(Computer c, TaskListener taskListener) Called when an agent attempted to connect viaComputerLauncherbut it failed.voidDeprecated.since 1.571.voidComputerListener.onOffline(Computer c, OfflineCause cause) Called right after aComputerwent offline.voidDeprecated.as of 1.292 UseComputerListener.onOnline(Computer, TaskListener)voidComputerListener.onOnline(Computer c, TaskListener listener) Called right after aComputercomes online.voidComputerListener.onTemporarilyOffline(Computer c, OfflineCause cause) Indicates that the computer was marked as temporarily offline by the administrator.voidComputerListener.onTemporarilyOnline(Computer c) Indicates that the computer was marked as temporarily online by the administrator.voidComputerListener.preLaunch(Computer c, TaskListener taskListener) Called before aComputerLauncheris asked to launch a connection withComputer.voidChannelPinger.preOnline(Computer c, hudson.remoting.Channel channel, FilePath root, TaskListener listener) voidComputerListener.preOnline(Computer c, hudson.remoting.Channel channel, FilePath root, TaskListener listener) Called before aComputeris 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.computersComputers 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 allComputers.Methods in jenkins.model that return types with arguments of type ComputerModifier and TypeMethodDescriptionprotected ConcurrentMap<Node, Computer> Jenkins.getComputerMap()Jenkins.getComputersCollection()Methods in jenkins.model with parameters of type ComputerModifier and TypeMethodDescriptionDeprecated. -
Uses of Computer in jenkins.slaves
Methods in jenkins.slaves with parameters of type ComputerModifier and TypeMethodDescriptionvoidStandardOutputSwapper.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 TypeMethodDescriptionvoidJnlpSlaveRestarterInstaller.onOnline(Computer c, TaskListener listener) -
Uses of Computer in jenkins.util
Methods in jenkins.util with parameters of type ComputerModifier and TypeMethodDescriptionvoidSystemProperties.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 ComputerMethods in jenkins.widgets with parameters of type ComputerModifier and TypeMethodDescription