public class JCloudsComputer extends hudson.slaves.AbstractCloudComputer<JCloudsSlave>
SlaveComputer - responsible for terminating an instance.| Constructor and Description |
|---|
JCloudsComputer(JCloudsSlave slave) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteSlave()
Delete the slave, terminate the instance.
|
void |
doConfigure(org.kohsuke.stapler.StaplerResponse rsp) |
org.kohsuke.stapler.HttpResponse |
doDoDelete() |
String |
getCloudName() |
String |
getInstanceId() |
JCloudsSlave |
getNode() |
int |
getRetentionTime() |
boolean |
isPendingDelete()
Is slave pending termination.
|
boolean |
setPendingDelete(boolean newVal)
Flag the slave to be collected asynchronously.
|
_connect, disconnect, doDoDisconnect, doLaunchSlaveAgent, doSlaveAgentJnlp, 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, getDisplayName, getEnvironment, getEnvVars, getExecutors, getHeapDump, getHostName, getIconAltText, getIconClassName, 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, updateByXml, waitUntilOffline, waitUntilOnlinedoContextMenu, getAction, getAction, getActions, getAllActions, getDynamic, replaceActionpublic JCloudsComputer(JCloudsSlave slave)
public String getInstanceId()
public JCloudsSlave getNode()
getNode in class hudson.slaves.AbstractCloudComputer<JCloudsSlave>public int getRetentionTime()
public String getCloudName()
public boolean setPendingDelete(boolean newVal)
public boolean isPendingDelete()
@Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class)
public void doConfigure(org.kohsuke.stapler.StaplerResponse rsp)
throws IOException
IOException@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class)
public org.kohsuke.stapler.HttpResponse doDoDelete()
throws IOException
doDoDelete in class hudson.slaves.AbstractCloudComputer<JCloudsSlave>IOExceptionpublic void deleteSlave()
throws IOException,
InterruptedException
InterruptedExceptionIOExceptionCopyright © 2004-2016. All Rights Reserved.