public class AnkaCloudComputer
extends hudson.slaves.SlaveComputer
Modifier and Type | Field and Description |
---|---|
protected hudson.model.Run<?,?> |
run |
Constructor and Description |
---|
AnkaCloudComputer(AbstractAnkaSlave slave,
String vmId) |
Modifier and Type | Method and Description |
---|---|
boolean |
afterFirstConnection() |
void |
connected() |
void |
firstConnectionAttempted() |
String |
getCloudName() |
AbstractAnkaSlave |
getNode() |
AnkaCloudSlaveTemplate |
getTemplate() |
String |
getVMId() |
boolean |
isAlive() |
boolean |
isConnecting() |
boolean |
isSchedulingOrPulling() |
void |
onRemoved() |
void |
reportLaunchFinished() |
void |
reportLaunching() |
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) |
void |
terminate() |
_connect, disconnect, doDoDisconnect, doLaunchSlaveAgent, doSlaveAgentJnlp, getAbsoluteRemoteFs, getAbsoluteRemotePath, getChannel, getChannelToMaster, getClassLoadingCount, getClassLoadingPrefetchCacheCount, getClassLoadingTime, getDefaultCharset, getDelegatedLauncher, getIcon, getJnlpJars, getJnlpMac, getLauncher, getListener, getLogRecords, getOSDescription, getResourceLoadingCount, getResourceLoadingTime, getRetentionStrategy, getSlaveVersion, getSystemInfoExtensions, grabLauncher, isAcceptingTasks, 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, doDoDelete, doDumpExportTable, doProgressiveLog, doRssAll, doRssFailed, 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, getMonitorData, getName, getNumExecutors, getOfflineCause, getOfflineCauseReason, getOneOffExecutors, getSearchUrl, getSystemProperties, getTerminatedBy, getThreadDump, getTiedJobs, getTimeline, getUrl, getWorkspaceList, interrupt, isIdle, isManualLaunchAllowed, isOffline, isOnline, isPartiallyIdle, isTemporarilyOffline, launch, 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
public AnkaCloudComputer(AbstractAnkaSlave slave, String vmId)
public boolean isConnecting()
isConnecting
in class hudson.slaves.SlaveComputer
public boolean afterFirstConnection()
public void firstConnectionAttempted()
public AbstractAnkaSlave getNode()
getNode
in class hudson.slaves.SlaveComputer
public String getVMId()
public boolean isAlive()
isAlive
in class hudson.model.Computer
public void connected()
public void onRemoved()
onRemoved
in class hudson.model.Computer
public AnkaCloudSlaveTemplate getTemplate()
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
public String getCloudName()
public boolean isSchedulingOrPulling()
public void terminate() throws IOException
IOException
public void reportLaunching()
public void reportLaunchFinished()
Copyright © 2016–2020. All rights reserved.