public class DeployNowComputer extends SlaveComputer
Computer
for a DeployNowSlave
.Modifier and Type | Class and Description |
---|---|
static class |
DeployNowComputer.DeployNowRetentionStrategy |
Computer.DisplayExecutor, Computer.TerminationRequest
ModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.ContextMenuVisibility, ModelObjectWithContextMenu.MenuItem
Modifier and Type | Field and Description |
---|---|
static DeployNowComputer.DeployNowRetentionStrategy |
RETENTION_STRATEGY |
BUILD, CONFIGURE, CONNECT, CREATE, DELETE, DISCONNECT, EXTENDED_READ, nodeName, offlineCause, PERMISSIONS, SKIP_PERMISSION_CHECK, statusChangeLock, threadPoolForRemoting, transientActions
Constructor and Description |
---|
DeployNowComputer(DeployNowSlave node) |
Modifier and Type | Method and Description |
---|---|
protected Future<?> |
_connect(boolean forceReconnect) |
void |
doConfigSubmit(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
org.kohsuke.stapler.HttpResponse |
doDoDelete() |
void |
doLaunchSlaveAgent(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
Charset |
getDefaultCharset() |
List<LogRecord> |
getLogRecords() |
Map<String,Object> |
getMonitorData() |
RetentionStrategy |
getRetentionStrategy() |
boolean |
isConnecting() |
boolean |
isOffline() |
void |
taskCompleted(Executor executor,
Queue.Task task,
long durationMS) |
void |
taskCompletedWithProblems(Executor executor,
Queue.Task task,
long durationMS,
Throwable problems) |
disconnect, doDoDisconnect, doSlaveAgentJnlp, getAbsoluteRemoteFs, getAbsoluteRemotePath, getChannel, getChannelToMaster, getClassLoadingCount, getClassLoadingPrefetchCacheCount, getClassLoadingTime, getDelegatedLauncher, getEnvVarsFull, getIcon, getJnlpJars, getJnlpMac, getLauncher, getListener, getNode, getOSDescription, getResourceLoadingCount, getResourceLoadingTime, getSlaveVersion, getSystemInfoExtensions, getTarget, grabLauncher, isAcceptingTasks, isJnlpAgent, isLaunchSupported, isUnix, kill, openLogFile, setAcceptingTasks, setChannel, setChannel, setChannel, setChannel, setNode, taskAccepted, tryReconnect
_doScript, addAction, buildEnvironment, cliConnect, cliDisconnect, cliOffline, cliOnline, connect, countBusy, countExecutors, countIdle, currentComputer, disconnect, doChangeOfflineCause, doConfigDotXml, doDumpExportTable, doProgressiveLog, doRssAll, doRssFailed, doRssLatest, doScript, doScriptText, doToggleOffline, getACL, getActions, getAllExecutors, getApi, getAssignedLabels, getBuilds, getCaption, getComputerPanelBoxs, getConnectTime, getDemandStartMilliseconds, getDescription, getDisplayExecutors, getDisplayName, getEnvironment, getEnvVars, getExecutors, getHeapDump, getHostName, getIconAltText, getIconClassName, getIdleStartMilliseconds, getLoadStatistics, getLog, getLogDir, getLogFile, getLogText, getName, getNumExecutors, getOfflineCause, getOfflineCauseReason, getOneOffExecutors, getSearchUrl, getSystemProperties, getTerminatedBy, getThreadDump, getTiedJobs, getTimeline, getUrl, getWorkspaceList, interrupt, isAlive, isIdle, isManualLaunchAllowed, 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, toString, wait, wait, wait
checkAnyPermission, checkPermission, hasAnyPermission, hasPermission, hasPermission
getDescriptorByName
public static final DeployNowComputer.DeployNowRetentionStrategy RETENTION_STRATEGY
public DeployNowComputer(DeployNowSlave node)
public Charset getDefaultCharset()
getDefaultCharset
in class SlaveComputer
public List<LogRecord> getLogRecords() throws IOException, InterruptedException
getLogRecords
in class SlaveComputer
IOException
InterruptedException
public org.kohsuke.stapler.HttpResponse doDoDelete() throws IOException
doDoDelete
in class Computer
IOException
public void doConfigSubmit(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException
doConfigSubmit
in class Computer
IOException
javax.servlet.ServletException
public void doLaunchSlaveAgent(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException
doLaunchSlaveAgent
in class SlaveComputer
IOException
protected Future<?> _connect(boolean forceReconnect)
_connect
in class SlaveComputer
public boolean isConnecting()
isConnecting
in class SlaveComputer
public RetentionStrategy getRetentionStrategy()
getRetentionStrategy
in class SlaveComputer
public void taskCompleted(Executor executor, Queue.Task task, long durationMS)
taskCompleted
in interface ExecutorListener
taskCompleted
in class SlaveComputer
public void taskCompletedWithProblems(Executor executor, Queue.Task task, long durationMS, Throwable problems)
taskCompletedWithProblems
in interface ExecutorListener
taskCompletedWithProblems
in class SlaveComputer
public Map<String,Object> getMonitorData()
getMonitorData
in class Computer
Copyright © 2016–2022. All rights reserved.