public abstract class OneShotComputer
extends hudson.slaves.SlaveComputer
| Modifier and Type | Field and Description | 
|---|---|
| static hudson.slaves.ComputerListener | COMPUTER_LISTENER | 
| Constructor and Description | 
|---|
| OneShotComputer(OneShotSlave slave) | 
| Modifier and Type | Method and Description | 
|---|---|
| Charset | getDefaultCharset()We only do support Linux docker images, so we assume UTF-8. | 
| hudson.model.TaskListener | getListener() | 
| OneShotSlave | getNode() | 
| boolean | isActuallyOffline() | 
| protected boolean | isAlive() | 
| 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 | setListener(hudson.model.TaskListener listener) | 
| protected void | terminate() | 
_connect, disconnect, doDoDisconnect, doLaunchSlaveAgent, doSlaveAgentJnlp, getAbsoluteRemoteFs, getChannel, getChannelToMaster, getClassLoadingCount, getClassLoadingPrefetchCacheCount, getClassLoadingTime, getIcon, getJnlpJars, getJnlpMac, getLauncher, getLogRecords, getOSDescription, getResourceLoadingCount, getResourceLoadingTime, getRetentionStrategy, getSlaveVersion, getSystemInfoExtensions, grabLauncher, isAcceptingTasks, isConnecting, isJnlpAgent, isLaunchSupported, isUnix, kill, openLogFile, setAcceptingTasks, setChannel, 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, isIdle, isManualLaunchAllowed, isOnline, isPartiallyIdle, isTemporarilyOffline, launch, onRemoved, recordTermination, relocateOldLogs, resolveForCLI, setTemporarilyOffline, setTemporarilyOffline, updateByXml, waitUntilOffline, waitUntilOnlinedoContextMenu, getAction, getAction, getActions, getAllActions, getDynamic, replaceAction@Extension public static final hudson.slaves.ComputerListener COMPUTER_LISTENER
public OneShotComputer(OneShotSlave slave)
public 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()
@Nonnull public OneShotSlave getNode()
getNode in class hudson.slaves.SlaveComputerprotected boolean isAlive()
isAlive in class hudson.model.Computerprotected void terminate()
public Charset getDefaultCharset()
BuildListener before we actually launchgetDefaultCharset in class hudson.slaves.SlaveComputerpublic void setListener(hudson.model.TaskListener listener)
public hudson.model.TaskListener getListener()
Copyright © 2016–2017. All rights reserved.