hudson.slaves
Class AbstractCloudComputer<T extends AbstractCloudSlave>

java.lang.Object
  extended by hudson.model.AbstractModelObject
      extended by hudson.model.Actionable
          extended by hudson.model.Computer
              extended by hudson.slaves.SlaveComputer
                  extended by hudson.slaves.AbstractCloudComputer<T>
All Implemented Interfaces:
ExecutorListener, ModelObject, SearchableModelObject, SearchItem, AccessControlled, ModelObjectWithContextMenu

public class AbstractCloudComputer<T extends AbstractCloudSlave>
extends SlaveComputer

Partial implementation of Computer to be used in conjunction with AbstractCloudSlave.

Since:
1.382
Author:
Kohsuke Kawaguchi

Nested Class Summary
 
Nested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu
ModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.MenuItem
 
Field Summary
 
Fields inherited from class hudson.model.Computer
CONFIGURE, CONNECT, CREATE, DELETE, DISCONNECT, nodeName, offlineCause, PERMISSIONS, statusChangeLock, threadPoolForRemoting, transientActions
 
Constructor Summary
AbstractCloudComputer(T slave)
           
 
Method Summary
 org.kohsuke.stapler.HttpResponse doDoDelete()
          When the slave is deleted, free the node right away.
 T getNode()
          Returns the Node that this computer represents.
 
Methods inherited from class hudson.slaves.SlaveComputer
_connect, disconnect, doDoDisconnect, doLaunchSlaveAgent, doSlaveAgentJnlp, getChannel, getChannelToMaster, getClassLoadingCount, getClassLoadingTime, getDefaultCharset, getIcon, getJnlpJars, getJnlpMac, getLauncher, getLogRecords, getOSDescription, getResourceLoadingCount, getResourceLoadingTime, getRetentionStrategy, getSlaveVersion, grabLauncher, isAcceptingTasks, isConnecting, isJnlpAgent, isLaunchSupported, isUnix, kill, openLogFile, setAcceptingTasks, setChannel, setChannel, setChannel, setNode, taskAccepted, taskCompleted, taskCompletedWithProblems, tryReconnect
 
Methods inherited from class hudson.model.Computer
_doScript, addAction, buildEnvironment, checkPermission, cliConnect, cliDisconnect, cliOffline, cliOnline, connect, countBusy, countExecutors, countIdle, currentComputer, disconnect, doChangeOfflineCause, doConfigDotXml, doConfigSubmit, doDumpExportTable, doProgressiveLog, doRssAll, doRssFailed, doScript, doScriptText, doToggleOffline, getACL, getActions, getApi, getBuilds, getCaption, getComputerPanelBoxs, getConnectTime, getDemandStartMilliseconds, getDisplayName, getEnvironment, getEnvVars, getExecutors, getHeapDump, getHostName, getIconAltText, getIdleStartMilliseconds, getLoadStatistics, getLog, getLogFile, getLogText, getMonitorData, getName, getNumExecutors, getOfflineCause, getOfflineCauseReason, getOneOffExecutors, getSearchUrl, getSystemProperties, getThreadDump, getTiedJobs, getTimeline, getUrl, getWorkspaceList, hasPermission, interrupt, isAlive, isIdle, isManualLaunchAllowed, isOffline, isOnline, isPartiallyIdle, isTemporarilyOffline, launch, onRemoved, relocateOldLogs, resolveForCLI, setTemporarilyOffline, setTemporarilyOffline, waitUntilOffline, waitUntilOnline
 
Methods inherited from class hudson.model.Actionable
doContextMenu, getAction, getAction, getActions, getDynamic
 
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCloudComputer

public AbstractCloudComputer(T slave)
Method Detail

getNode

public T getNode()
Description copied from class: Computer
Returns the Node that this computer represents.

Overrides:
getNode in class SlaveComputer
Returns:
null if the configuration has changed and the node is removed, yet the corresponding Computer is not yet gone.

doDoDelete

public org.kohsuke.stapler.HttpResponse doDoDelete()
                                            throws IOException
When the slave is deleted, free the node right away.

Overrides:
doDoDelete in class Computer
Throws:
IOException


Copyright © 2004-2013. All Rights Reserved.