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 $ Runis 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, waitUntilOnlinedoContextMenu, getAction, getAction, getActions, getAllActions, getDynamic, replaceActionpublic OneShotComputer(S slave)
public S getNode()
getNode in class hudson.slaves.SlaveComputerpublic boolean isOffline()
Run is created, then can actually
 launch and report provisioning status in the build log.isOffline in class hudson.model.Computerpublic boolean isActuallyOffline()
public void setChannel(hudson.remoting.Channel channel,
                       OutputStream launchLog,
                       hudson.remoting.Channel.Listener listener)
                throws IOException,
                       InterruptedException
setChannel in class hudson.slaves.SlaveComputerIOExceptionInterruptedExceptionpublic void setListener(hudson.model.TaskListener listener)
public hudson.model.TaskListener getListener()
getListener in class hudson.slaves.SlaveComputerCopyright © 2016–2017. All rights reserved.