public class ForemanComputer extends hudson.slaves.AbstractCloudComputer<ForemanSharedNode> implements org.jenkinsci.plugins.cloudstats.TrackedItem
| Constructor and Description |
|---|
ForemanComputer(ForemanSharedNode slave)
Default constructor.
|
| 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() |
org.jenkinsci.plugins.cloudstats.ProvisioningActivity.Id |
getId() |
ForemanSharedNode |
getNode() |
static void |
terminateForemanComputer(hudson.model.Computer c)
Utility method to terminate a Foreman shared node.
|
_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, 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 ForemanComputer(ForemanSharedNode slave)
slave - Foreman slave ForemanSharedNode.public ForemanSharedNode getNode()
getNode in class hudson.slaves.AbstractCloudComputer<ForemanSharedNode>public static void terminateForemanComputer(hudson.model.Computer c)
throws IOException,
InterruptedException
c - The ComputerIOException - if occurs.InterruptedException - if occurs.public void deleteSlave()
throws IOException,
InterruptedException
IOException - if occursInterruptedException - if occurspublic org.jenkinsci.plugins.cloudstats.ProvisioningActivity.Id getId()
getId in interface org.jenkinsci.plugins.cloudstats.TrackedItem@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<ForemanSharedNode>IOExceptionCopyright © 2016–2017. All rights reserved.