org.jenkinsci.plugins.scripted_cloud
Class scriptedCloudSlaveComputer

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 org.jenkinsci.plugins.scripted_cloud.scriptedCloudSlaveComputer
All Implemented Interfaces:
hudson.model.ExecutorListener, hudson.model.ModelObject, hudson.search.SearchableModelObject, hudson.search.SearchItem, hudson.security.AccessControlled, jenkins.model.ModelObjectWithContextMenu

public class scriptedCloudSlaveComputer
extends hudson.slaves.SlaveComputer

Author:
Admin

Nested Class Summary
static class scriptedCloudSlaveComputer.MACHINE_ACTION
           
static class scriptedCloudSlaveComputer.SC_SLAVE_STATE
           
 
Nested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu
jenkins.model.ModelObjectWithContextMenu.ContextMenu, jenkins.model.ModelObjectWithContextMenu.MenuItem
 
Field Summary
 Boolean isDisconnecting
           
 Boolean isStarting
           
 scriptedCloudSlaveComputer.SC_SLAVE_STATE prevState
           
 scriptedCloudSlaveComputer.SC_SLAVE_STATE state
           
 
Fields inherited from class hudson.model.Computer
CONFIGURE, CONNECT, CREATE, DELETE, DISCONNECT, nodeName, offlineCause, PERMISSIONS, statusChangeLock, threadPoolForRemoting, transientActions
 
Constructor Summary
scriptedCloudSlaveComputer(hudson.model.Slave slave, String vmDescription, String vmName, String vmPlatform, String vmGroup, String snapName, String extraParams, Boolean forceLaunch, String idleOption)
           
 
Method Summary
protected  Future<?> _connect(boolean forceReconnect)
           
 boolean doNothing()
           
 void fillEnv(HashMap envMap)
           
 String getState()
           
 String getVmName()
           
 String getVsDescription()
           
 boolean initialized()
           
 boolean needed()
           
 void revertState()
           
 void setNeeded()
           
 void setNotNeeded()
           
 void setStarted()
           
 void setStarting()
           
 void setStopped()
           
 void setStopping()
           
 boolean started()
           
 boolean starting()
           
 boolean stopped()
           
 boolean stopping()
           
 String toString()
           
 
Methods inherited from class hudson.slaves.SlaveComputer
disconnect, doDoDisconnect, doLaunchSlaveAgent, getChannel, getChannelToMaster, getDefaultCharset, getIcon, getJnlpJars, getLauncher, getLogRecords, getNode, getOSDescription, 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, checkPermission, cliConnect, cliDisconnect, cliOffline, cliOnline, connect, countBusy, countExecutors, countIdle, currentComputer, disconnect, doConfigDotXml, doConfigSubmit, doDoDelete, 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, getOneOffExecutors, getSearchUrl, getSystemProperties, getThreadDump, getTiedJobs, getTimeline, getUrl, getWorkspaceList, hasPermission, interrupt, isIdle, isManualLaunchAllowed, isOffline, isOnline, isPartiallyIdle, isTemporarilyOffline, launch, resolveForCLI, setTemporarilyOffline, setTemporarilyOffline, waitUntilOffline, waitUntilOnline
 
Methods inherited from class hudson.model.Actionable
addAction, 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, wait, wait, wait
 

Field Detail

isStarting

public Boolean isStarting

isDisconnecting

public Boolean isDisconnecting

state

public scriptedCloudSlaveComputer.SC_SLAVE_STATE state

prevState

public scriptedCloudSlaveComputer.SC_SLAVE_STATE prevState
Constructor Detail

scriptedCloudSlaveComputer

public scriptedCloudSlaveComputer(hudson.model.Slave slave,
                                  String vmDescription,
                                  String vmName,
                                  String vmPlatform,
                                  String vmGroup,
                                  String snapName,
                                  String extraParams,
                                  Boolean forceLaunch,
                                  String idleOption)
Method Detail

fillEnv

public void fillEnv(HashMap envMap)

_connect

protected Future<?> _connect(boolean forceReconnect)
Overrides:
_connect in class hudson.slaves.SlaveComputer

toString

public String toString()
Overrides:
toString in class Object

revertState

public void revertState()

initialized

public boolean initialized()

stopped

public boolean stopped()

stopping

public boolean stopping()

setStopping

public void setStopping()

setStopped

public void setStopped()

starting

public boolean starting()

setStarting

public void setStarting()

started

public boolean started()

setStarted

public void setStarted()

needed

public boolean needed()

setNeeded

public void setNeeded()

setNotNeeded

public void setNotNeeded()

getVmName

public String getVmName()

getVsDescription

public String getVsDescription()

getState

public String getState()

doNothing

public boolean doNothing()


Copyright © 2004-2012. All Rights Reserved.