public class NodePoolComputer
extends hudson.slaves.SlaveComputer
Constructor and Description |
---|
NodePoolComputer(NodePoolSlave nps,
NodePoolNode npn,
NodePoolJob npj) |
NodePoolComputer(hudson.model.Slave slave) |
Modifier and Type | Method and Description |
---|---|
Future<?> |
disconnect(hudson.slaves.OfflineCause cause)
Override so that lock can be used for cleaning up
|
org.kohsuke.stapler.HttpResponse |
doDoDelete() |
String |
getDisplayName() |
NodePoolJob |
getJob()
Get the Job associated with this computer
|
NodePoolNode |
getNodePoolNode() |
void |
setNodePoolNode(NodePoolNode npn) |
void |
taskAccepted(hudson.model.Executor executor,
hudson.model.Queue.Task task) |
void |
taskCompleted(hudson.model.Executor executor,
hudson.model.Queue.Task task,
long durationMS) |
void |
taskCompletedWithProblems(hudson.model.Executor executor,
hudson.model.Queue.Task task,
long durationMS,
Throwable problems) |
String |
toString() |
_connect, doDoDisconnect, doLaunchSlaveAgent, doSlaveAgentJnlp, getAbsoluteRemoteFs, getAbsoluteRemotePath, getChannel, getChannelToMaster, getClassLoadingCount, getClassLoadingPrefetchCacheCount, getClassLoadingTime, getDefaultCharset, getDelegatedLauncher, getIcon, getJnlpJars, getJnlpMac, getLauncher, getListener, getLogRecords, getNode, getOSDescription, getResourceLoadingCount, getResourceLoadingTime, getRetentionStrategy, getSlaveVersion, getSystemInfoExtensions, grabLauncher, isAcceptingTasks, isConnecting, isJnlpAgent, isLaunchSupported, isUnix, kill, openLogFile, setAcceptingTasks, setChannel, setChannel, setChannel, setChannel, setNode, tryReconnect
_doScript, addAction, buildEnvironment, cliConnect, cliDisconnect, cliOffline, cliOnline, connect, countBusy, countExecutors, countIdle, currentComputer, disconnect, doChangeOfflineCause, doConfigDotXml, doConfigSubmit, doDumpExportTable, doProgressiveLog, doRssAll, doRssFailed, doScript, doScriptText, doToggleOffline, getACL, getActions, getAllExecutors, getApi, getAssignedLabels, getBuilds, getCaption, getComputerPanelBoxs, getConnectTime, getDemandStartMilliseconds, getDescription, getDisplayExecutors, getEnvironment, getEnvVars, getExecutors, getHeapDump, getHostName, getIconAltText, getIconClassName, getIdleStartMilliseconds, getLoadStatistics, getLog, getLogDir, getLogFile, getLogText, getMonitorData, getName, getNumExecutors, getOfflineCause, getOfflineCauseReason, getOneOffExecutors, getSearchUrl, getSystemProperties, getTerminatedBy, getThreadDump, getTiedJobs, getTimeline, getUrl, getWorkspaceList, interrupt, isAlive, isIdle, isManualLaunchAllowed, isOffline, isOnline, isPartiallyIdle, isTemporarilyOffline, launch, onRemoved, recordTermination, relocateOldLogs, removeExecutor, resolveForCLI, setTemporarilyOffline, setTemporarilyOffline, updateByXml, waitUntilOffline, waitUntilOnline
addOrReplaceAction, doContextMenu, getAction, getAction, getActions, getAllActions, getDynamic, removeAction, removeActions, replaceAction, replaceActions
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public NodePoolComputer(hudson.model.Slave slave)
public NodePoolComputer(NodePoolSlave nps, NodePoolNode npn, NodePoolJob npj)
public Future<?> disconnect(hudson.slaves.OfflineCause cause)
disconnect
in class hudson.slaves.SlaveComputer
cause:
- reason for disconnectingpublic NodePoolJob getJob()
public final void setNodePoolNode(NodePoolNode npn)
public NodePoolNode getNodePoolNode()
public org.kohsuke.stapler.HttpResponse doDoDelete() throws IOException
doDoDelete
in class hudson.model.Computer
IOException
public String getDisplayName()
getDisplayName
in interface hudson.model.ModelObject
getDisplayName
in class hudson.model.Computer
public void taskAccepted(hudson.model.Executor executor, hudson.model.Queue.Task task)
taskAccepted
in interface hudson.model.ExecutorListener
taskAccepted
in class hudson.slaves.SlaveComputer
public void taskCompleted(hudson.model.Executor executor, hudson.model.Queue.Task task, long durationMS)
taskCompleted
in interface hudson.model.ExecutorListener
taskCompleted
in class hudson.slaves.SlaveComputer
public void taskCompletedWithProblems(hudson.model.Executor executor, hudson.model.Queue.Task task, long durationMS, Throwable problems)
taskCompletedWithProblems
in interface hudson.model.ExecutorListener
taskCompletedWithProblems
in class hudson.slaves.SlaveComputer
Copyright © 2016–2018. All rights reserved.