Uses of Class
hudson.model.Computer
-
Packages that use Computer Package Description hudson hudson.console Beef up the plain text console output by adding HTML markup.hudson.logging hudson.model Core object model that are bound to URLs via stapler, rooted atJenkins
.hudson.model.queue hudson.node_monitors Code that monitors the health of agentshudson.security Security-related code.hudson.slaves Code related to agents.jenkins.model jenkins.slaves jenkins.slaves.restarter jenkins.util -
-
Uses of Computer in hudson
Methods in hudson that return Computer Modifier and Type Method Description Computer
Launcher.DecoratedLauncher. getComputer()
Computer
Launcher. getComputer()
Deprecated.since 2008-11-16.Computer
FilePath. toComputer()
-
Uses of Computer in hudson.console
Methods in hudson.console with parameters of type Computer Modifier and Type Method Description OutputStream
ConsoleLogFilter. 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 Computer Modifier and Type Method Description Map<Computer,List<LogRecord>>
LogRecorder. getSlaveLogRecords()
Gets a view of log records per agent matching this recorder.Methods in hudson.logging with parameters of type Computer Modifier and Type Method Description void
LogRecorder.ComputerLogInitializer. preOnline(Computer c, hudson.remoting.Channel channel, FilePath root, TaskListener listener)
-
Uses of Computer in hudson.model
Subclasses of Computer in hudson.model Modifier and Type Class Description static class
Hudson.MasterComputer
Deprecated.only here for backward compFields in hudson.model declared as Computer Modifier and Type Field Description protected Computer
Executor. owner
Methods in hudson.model that return Computer Modifier and Type Method Description protected abstract Computer
Node. createComputer()
Computer
Slave. createComputer()
static Computer
Computer. currentComputer()
Gets the currentComputer
that the build is running.Computer[]
ComputerSet. get_all()
Computer
ComputerPanelBox. getComputer()
Computer
ComputerSet. getDynamic(String token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
Computer
Executor. getOwner()
static Computer
Computer. resolveForCLI(String name)
Used for CLI binding.Computer
Node. toComputer()
Gets the correspondingComputer
object.Methods in hudson.model that return types with arguments of type Computer Modifier and Type Method Description protected abstract ConcurrentMap<Node,Computer>
AbstractCIBase. getComputerMap()
List<Computer>
View. getComputers()
AnnotatedLargeText<Computer>
Computer. getLogText()
Used to URL-bindAnnotatedLargeText
.Methods in hudson.model with parameters of type Computer Modifier and Type Method Description static List<ComputerPanelBox>
ComputerPanelBox. all(Computer computer)
Create boxes for the given computer in its page.static List<Action>
TransientComputerActionFactory. createAllFor(Computer target)
CreatesAction
s for a node, using all registeredTransientComputerActionFactory
s.abstract Collection<? extends Action>
TransientComputerActionFactory. createFor(Computer target)
Creates actions for the given computer.List<Queue.BuildableItem>
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)
LoadStatistics.LoadStatisticsSnapshot.Builder
LoadStatistics.LoadStatisticsSnapshot.Builder. with(Computer computer)
Constructors in hudson.model with parameters of type Computer Constructor Description Executor(Computer owner, int n)
OneOffExecutor(Computer owner)
-
Uses of Computer in hudson.model.queue
Fields in hudson.model.queue declared as Computer Modifier and Type Field Description Computer
MappingWorksheet.ExecutorChunk. computer
Methods in hudson.model.queue with parameters of type Computer Modifier and Type Method Description Iterable<FutureLoad>
LoadPredictor.CurrentlyRunningTasks. predict(MappingWorksheet plan, Computer computer, long start, long eternity)
Iterable<FutureLoad>
LoadPredictor. predict(Computer computer, long start, long end)
Deprecated.as of 1.380 UseLoadPredictor.predict(MappingWorksheet, Computer, long, long)
Iterable<FutureLoad>
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 Computer Modifier and Type Method Description protected Map<Computer,T>
AbstractAsyncNodeMonitorDescriptor.Result. getMonitoringData()
protected List<Computer>
AbstractAsyncNodeMonitorDescriptor.Result. getSkipped()
Computers that ware skipped during monitoring as they either do not have a a channel (offline) or the monitor have not produced the Callable.protected Map<Computer,T>
AbstractAsyncNodeMonitorDescriptor. monitor()
Performs all monitoring concurrently.protected Map<Computer,T>
AbstractNodeMonitorDescriptor. monitor()
Performs monitoring across the board.Methods in hudson.node_monitors with parameters of type Computer Modifier and Type Method Description protected 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.node_monitors.SwapSpaceMonitor.MonitorTask
SwapSpaceMonitor.DescriptorImpl. createCallable(Computer c)
protected hudson.remoting.Callable<DiskSpaceMonitorDescriptor.DiskSpace,IOException>
TemporarySpaceMonitor.DescriptorImpl. createCallable(Computer c)
Object
AbstractDiskSpaceMonitor. data(Computer c)
Object
NodeMonitor. data(Computer c)
Obtains the monitoring result currently available, or null if no data is available.T
AbstractNodeMonitorDescriptor. get(Computer c)
Obtains the monitoring result currently available, or null if no data is available.ClockDifference
ClockMonitor. getDifferenceFor(Computer c)
DiskSpaceMonitorDescriptor.DiskSpace
DiskSpaceMonitor. getFreeSpace(Computer c)
DiskSpaceMonitorDescriptor.DiskSpace
TemporarySpaceMonitor. getFreeSpace(Computer c)
DiskSpaceMonitorDescriptor.DiskSpace
AbstractDiskSpaceMonitor. markNodeOfflineIfDiskspaceIsTooLow(Computer c)
Marks the given node as offline if free disk space is below the configured threshold.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
AbstractAsyncNodeMonitorDescriptor. monitor(Computer c)
protected abstract T
AbstractNodeMonitorDescriptor. monitor(Computer c)
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. -
Uses of Computer in hudson.security
Methods in hudson.security with parameters of type Computer Modifier and Type Method Description ACL
AuthorizationStrategy. getACL(Computer computer)
Implementation can choose to provide different ACL for different computers. -
Uses of Computer in hudson.slaves
Classes in hudson.slaves with type parameters of type Computer Modifier and Type Class Description class
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.slaves Modifier and Type Class Description class
AbstractCloudComputer<T extends AbstractCloudSlave>
Partial implementation ofComputer
to be used in conjunction withAbstractCloudSlave
.class
SlaveComputer
Fields in hudson.slaves with type parameters of type Computer Modifier and Type Field Description static RetentionStrategy<Computer>
RetentionStrategy. NOOP
Dummy instance that doesn't do any attempt to retention.Methods in hudson.slaves with parameters of type Computer Modifier and Type Method Description String
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
ComputerListener. onOffline(Computer c)
Deprecated.since 1.571.void
ComputerListener. onOffline(Computer c, OfflineCause cause)
Called right after aComputer
went offline.void
ComputerListener. onOnline(Computer c)
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.model Modifier and Type Class Description static class
Jenkins.MasterComputer
Fields in jenkins.model with type parameters of type Computer Modifier and Type Field Description protected ConcurrentMap<Node,Computer>
Jenkins. computers
Computer
s in this Jenkins system.Methods in jenkins.model that return Computer Modifier and Type Method Description Computer
Jenkins. createComputer()
Computer
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 Computer Modifier and Type Method Description protected ConcurrentMap<Node,Computer>
Jenkins. getComputerMap()
Methods in jenkins.model with parameters of type Computer Modifier and Type Method Description ModelObjectWithContextMenu.ContextMenu
ModelObjectWithContextMenu.ContextMenu. add(Computer c)
Adds a computer -
Uses of Computer in jenkins.slaves
Methods in jenkins.slaves with parameters of type Computer Modifier and Type Method Description void
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 Computer Modifier and Type Method Description void
JnlpSlaveRestarterInstaller. onOnline(Computer c, TaskListener listener)
-
Uses of Computer in jenkins.util
Methods in jenkins.util with parameters of type Computer Modifier and Type Method Description void
SystemProperties.AgentCopier. preOnline(Computer c, hudson.remoting.Channel channel, FilePath root, TaskListener listener)
-