public class OneShotComputer<S extends OneShotSlave> extends UseOnceComputer
Constructor and Description |
---|
OneShotComputer(S slave) |
Modifier and Type | Method and Description |
---|---|
hudson.model.TaskListener |
getListener() |
S |
getNode() |
boolean |
isActuallyOffline() |
boolean |
isOffline()
Claim we are online so we get task assigned to the executor, so a $
Run is created, then can actually
launch and report provisioning status in the build log. |
void |
setChannel(hudson.remoting.Channel channel,
OutputStream launchLog,
hudson.remoting.Channel.Listener listener) |
void |
setListener(hudson.model.TaskListener listener) |
removeExecutor, terminate
_connect, disconnect, doDoDisconnect, doLaunchSlaveAgent, doSlaveAgentJnlp, getAbsoluteRemoteFs, getChannel, getChannelToMaster, getClassLoadingCount, getClassLoadingPrefetchCacheCount, getClassLoadingTime, getDefaultCharset, getIcon, getJnlpJars, getJnlpMac, getLauncher, getLogRecords, getOSDescription, getResourceLoadingCount, getResourceLoadingTime, getRetentionStrategy, getSlaveVersion, getSystemInfoExtensions, grabLauncher, isAcceptingTasks, isConnecting, isJnlpAgent, isLaunchSupported, isUnix, kill, openLogFile, setAcceptingTasks, setChannel, setChannel, setNode, taskAccepted, taskCompleted, taskCompletedWithProblems, tryReconnect
_doScript, addAction, buildEnvironment, checkPermission, cliConnect, cliDisconnect, cliOffline, cliOnline, connect, countBusy, countExecutors, countIdle, currentComputer, disconnect, doChangeOfflineCause, doConfigDotXml, doConfigSubmit, doDoDelete, doDumpExportTable, doProgressiveLog, doRssAll, doRssFailed, doScript, doScriptText, doToggleOffline, getACL, getActions, getApi, getBuilds, getCaption, getComputerPanelBoxs, getConnectTime, getDemandStartMilliseconds, getDisplayExecutors, getDisplayName, 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, hasPermission, interrupt, isAlive, isIdle, isManualLaunchAllowed, isOnline, isPartiallyIdle, isTemporarilyOffline, launch, onRemoved, recordTermination, relocateOldLogs, resolveForCLI, setTemporarilyOffline, setTemporarilyOffline, updateByXml, waitUntilOffline, waitUntilOnline
doContextMenu, getAction, getAction, getActions, getAllActions, getDynamic, replaceAction
public OneShotComputer(S slave)
public S getNode()
getNode
in class hudson.slaves.SlaveComputer
public boolean isOffline()
Run
is created, then can actually
launch and report provisioning status in the build log.isOffline
in class hudson.model.Computer
public boolean isActuallyOffline()
public void setChannel(hudson.remoting.Channel channel, OutputStream launchLog, hudson.remoting.Channel.Listener listener) throws IOException, InterruptedException
setChannel
in class hudson.slaves.SlaveComputer
IOException
InterruptedException
public void setListener(hudson.model.TaskListener listener)
public hudson.model.TaskListener getListener()
getListener
in class hudson.slaves.SlaveComputer
Copyright © 2016–2017. All rights reserved.