public class ComputeEngineComputer extends hudson.slaves.AbstractCloudComputer<ComputeEngineInstance>
| Constructor and Description |
|---|
ComputeEngineComputer(ComputeEngineInstance slave) |
| Modifier and Type | Method and Description |
|---|---|
org.kohsuke.stapler.HttpResponse |
doDoDelete()
When the slave is deleted, terminate the instance.
|
protected ComputeEngineCloud |
getCloud() |
com.google.api.services.compute.model.Instance |
getInstance()
Returns a cached representation of the Instance
|
String |
getInstanceStatus()
Returns the most current status of the Instance as reported by the GCE API
|
ComputeEngineInstance |
getNode() |
String |
getNumExecutorsStr() |
void |
onConnected() |
com.google.api.services.compute.model.Instance |
refreshInstance() |
void |
setNumExecutorsStr(String value) |
_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, setChannel, setNode, taskAccepted, taskCompleted, taskCompletedWithProblems, tryReconnect_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, 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, isOffline, isOnline, isPartiallyIdle, isTemporarilyOffline, launch, onRemoved, recordTermination, relocateOldLogs, resolveForCLI, setTemporarilyOffline, setTemporarilyOffline, updateByXml, waitUntilOffline, waitUntilOnlinedoContextMenu, getAction, getAction, getActions, getAllActions, getDynamic, replaceActionpublic ComputeEngineComputer(ComputeEngineInstance slave)
public ComputeEngineInstance getNode()
getNode in class hudson.slaves.AbstractCloudComputer<ComputeEngineInstance>public void onConnected()
public String getNumExecutorsStr()
@DataBoundSetter public void setNumExecutorsStr(String value)
public com.google.api.services.compute.model.Instance getInstance()
throws IOException
IOExceptionpublic com.google.api.services.compute.model.Instance refreshInstance()
throws IOException
IOExceptionpublic String getInstanceStatus() throws IOException
IOExceptionprotected ComputeEngineCloud getCloud() throws CloudNotFoundException
CloudNotFoundExceptionpublic org.kohsuke.stapler.HttpResponse doDoDelete()
throws IOException
doDoDelete in class hudson.slaves.AbstractCloudComputer<ComputeEngineInstance>IOExceptionCopyright © 2016–2018 Google. All rights reserved.