| 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 at Hudson.
|
| hudson.model.queue | |
| hudson.node_monitors |
Code that monitors the health of slaves
|
| hudson.security |
Security-related code.
|
| hudson.slaves |
Code related to slaves.
|
| jenkins.model | |
| jenkins.slaves | |
| jenkins.slaves.restarter |
| Modifier and Type | Method and Description |
|---|---|
Computer |
Launcher.getComputer()
Deprecated.
since 2008-11-16.
See the javadoc for why this is inherently unreliable. If you are trying to
figure out the current
Computer from within a build, use
currentComputer() |
Computer |
Launcher.DecoratedLauncher.getComputer() |
Computer |
FilePath.toComputer()
|
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
ConsoleLogFilter.decorateLogger(Computer computer,
OutputStream logger)
Called to decorate logger for master/slave communication.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Computer,List<LogRecord>> |
LogRecorder.getSlaveLogRecords()
Gets a view of log records per slave matching this recorder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LogRecorder.ComputerLogInitializer.preOnline(Computer c,
hudson.remoting.Channel channel,
FilePath root,
TaskListener listener) |
| Modifier and Type | Class and Description |
|---|---|
static class |
Hudson.MasterComputer
Deprecated.
only here for backward comp
|
| Modifier and Type | Field and Description |
|---|---|
protected Computer |
Executor.owner |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Computer |
Node.createComputer()
|
Computer |
Slave.createComputer() |
static Computer |
Computer.currentComputer()
Gets the current
Computer 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 corresponding
Computer object. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Map<Node,Computer> |
AbstractCIBase.getComputerMap() |
List<Computer> |
View.getComputers() |
AnnotatedLargeText<Computer> |
Computer.getLogText()
Used to URL-bind
AnnotatedLargeText. |
| Modifier and Type | Method and Description |
|---|---|
static List<ComputerPanelBox> |
ComputerPanelBox.all(Computer computer)
Create boxes for the given computer in its page.
|
static List<Action> |
TransientComputerActionFactory.createAllFor(Computer target)
Creates
Actions for a node, using all registered TransientComputerActionFactorys. |
abstract Collection<? extends Action> |
TransientComputerActionFactory.createFor(Computer target)
Creates actions for the given computer.
|
List<Queue.BuildableItem> |
Queue.getBuildableItems(Computer c)
Gets all the
BuildableItems that are waiting for an executor in the given Computer. |
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) |
| Constructor and Description |
|---|
Executor(Computer owner,
int n) |
OneOffExecutor(Computer owner) |
| Modifier and Type | Field and Description |
|---|---|
Computer |
MappingWorksheet.ExecutorChunk.computer |
| Modifier and Type | Method and Description |
|---|---|
Iterable<FutureLoad> |
LoadPredictor.predict(Computer computer,
long start,
long end)
Deprecated.
as of 1.380
Use
LoadPredictor.predict(MappingWorksheet, Computer, long, long) |
Iterable<FutureLoad> |
BackFiller.predict(MappingWorksheet plan,
Computer computer,
long start,
long end) |
Iterable<FutureLoad> |
LoadPredictor.predict(MappingWorksheet plan,
Computer computer,
long start,
long end)
Estimates load starting from the 'start' timestamp, up to the 'end' timestamp.
|
Iterable<FutureLoad> |
LoadPredictor.CurrentlyRunningTasks.predict(MappingWorksheet plan,
Computer computer,
long start,
long eternity) |
| Constructor and Description |
|---|
TentativePlan(Map<Computer,Integer> footprint,
hudson.model.queue.BackFiller.TimeRange range) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<Computer,T> |
AbstractNodeMonitorDescriptor.monitor()
Performs monitoring across the board.
|
protected Map<Computer,T> |
AbstractAsyncNodeMonitorDescriptor.monitor()
Performs all monitoring concurrently.
|
| Modifier and Type | Method and Description |
|---|---|
protected hudson.remoting.Callable<String,IOException> |
ArchitectureMonitor.DescriptorImpl.createCallable(Computer c) |
protected abstract hudson.remoting.Callable<T,IOException> |
AbstractAsyncNodeMonitorDescriptor.createCallable(Computer c)
Creates a
Callable that performs the monitoring when executed. |
Object |
NodeMonitor.data(Computer c)
Obtains the monitoring result currently available, or null if no data is available.
|
Object |
AbstractDiskSpaceMonitor.data(Computer c) |
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 |
TemporarySpaceMonitor.getFreeSpace(Computer c) |
DiskSpaceMonitorDescriptor.DiskSpace |
DiskSpaceMonitor.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
Use
AbstractNodeMonitorDescriptor.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 abstract T |
AbstractNodeMonitorDescriptor.monitor(Computer c)
Performs monitoring of the given computer object.
|
protected T |
AbstractAsyncNodeMonitorDescriptor.monitor(Computer c) |
void |
NodeMonitorUpdater.onOnline(Computer c,
TaskListener listener)
Triggers the update with 5 seconds quiet period, to avoid triggering data check too often
when multiple slaves become online at about the same time.
|
| Modifier and Type | Method and Description |
|---|---|
ACL |
AuthorizationStrategy.getACL(Computer computer)
Implementation can choose to provide different ACL for different computers.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CloudSlaveRetentionStrategy<T extends Computer>
Default convenience implementation of
RetentionStrategy for slaves provisioned from Cloud. |
class |
RetentionStrategy<T extends Computer>
Controls when to take
Computer offline, bring it back online, or even to destroy it. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCloudComputer<T extends AbstractCloudSlave>
Partial implementation of
Computer to be used in conjunction with
AbstractCloudSlave. |
class |
SlaveComputer
|
| Modifier and Type | Field and Description |
|---|---|
static RetentionStrategy<Computer> |
RetentionStrategy.NOOP
Dummy instance that doesn't do any attempt to retention.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ComputerListener.onLaunchFailure(Computer c,
TaskListener taskListener)
Called when a slave attempted to connect via
ComputerLauncher but it failed. |
void |
ComputerListener.onOffline(Computer c)
Deprecated.
since 1.571. Use
ComputerListener.onOffline(Computer, OfflineCause) instead. |
void |
ComputerListener.onOffline(Computer c,
OfflineCause cause)
Called right after a
Computer went offline. |
void |
ComputerListener.onOnline(Computer c)
Deprecated.
as of 1.292
Use
ComputerListener.onOnline(Computer, TaskListener) |
void |
ComputerListener.onOnline(Computer c,
TaskListener listener)
Called right after a
Computer 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 a
ComputerLauncher is asked to launch a connection with Computer. |
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 a
Computer is marked online. |
| Modifier and Type | Class and Description |
|---|---|
static class |
Jenkins.MasterComputer |
| Modifier and Type | Field and Description |
|---|---|
protected Map<Node,Computer> |
Jenkins.computers
Computers in this Jenkins system. |
| Modifier and Type | Method and Description |
|---|---|
Computer |
Jenkins.createComputer() |
Computer |
Jenkins.getComputer(String name) |
Computer[] |
Jenkins.getComputers()
Gets the read-only list of all
Computers. |
| Modifier and Type | Method and Description |
|---|---|
protected Map<Node,Computer> |
Jenkins.getComputerMap() |
| Modifier and Type | Method and Description |
|---|---|
ModelObjectWithContextMenu.ContextMenu |
ModelObjectWithContextMenu.ContextMenu.add(Computer c)
Adds a computer
|
| Modifier and Type | Method and Description |
|---|---|
void |
StandardOutputSwapper.preOnline(Computer c,
hudson.remoting.Channel channel,
FilePath root,
TaskListener listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
JnlpSlaveRestarterInstaller.onOnline(Computer c,
TaskListener listener) |
Copyright © 2019. All rights reserved.