public class BaremetalCloudAgent
extends hudson.slaves.AbstractCloudSlave
| Modifier and Type | Class and Description |
|---|---|
static class |
BaremetalCloudAgent.BaremetalAgentDescriptor |
hudson.model.Slave.JnlpJar, hudson.model.Slave.SlaveDescriptor| Modifier and Type | Field and Description |
|---|---|
String |
cloudName |
String |
initScript |
| Constructor and Description |
|---|
BaremetalCloudAgent(String name,
BaremetalCloudAgentTemplate template,
String cloudName,
String instanceId,
String host) |
BaremetalCloudAgent(String name,
String description,
String remoteFS,
String sshUser,
Boolean assignPublicIP,
Boolean usePrivateIP,
int numExecutors,
hudson.model.Node.Mode mode,
String labelString,
String idleTerminationMinutes,
List<? extends hudson.slaves.NodeProperty<?>> nodeProperties,
String cloudName,
int sshConnectTimeoutMillis,
String instanceId,
String initScript,
int initScriptTimeoutSeconds,
String host,
String sskPrivatekey) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_terminate(hudson.model.TaskListener listener) |
hudson.slaves.AbstractCloudComputer<BaremetalCloudAgent> |
createComputer() |
BaremetalCloud |
getCloud() |
String |
getInstanceId() |
protected boolean |
isAlive() |
hudson.model.Node |
reconfigure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject form) |
createLauncher, equals, getClockDifferenceCallable, getComputer, getDescriptor, getLabelString, getLauncher, getMode, getNodeDescription, getNodeName, getNodeProperties, getNumExecutors, getRemoteFS, getRetentionStrategy, getRootPath, getUserId, getWorkspaceFor, getWorkspaceRoot, hashCode, readResolve, setLabelString, setLauncher, setMode, setNodeName, setRetentionStrategy, setUserId, toStringcanTake, canTake, checkPermission, createPath, getACL, getAssignedLabels, getChannel, getClockDifference, getDisplayName, getFileSystemProvisioner, getLabelCloud, getNodePropertyDescriptors, getSearchUrl, getSelfLabel, hasPermission, isAcceptingTasks, isHoldOffLaunchUntilSave, save, toComputerpublic BaremetalCloudAgent(String name, BaremetalCloudAgentTemplate template, String cloudName, String instanceId, String host) throws IOException, hudson.model.Descriptor.FormException
IOExceptionhudson.model.Descriptor.FormException@DataBoundConstructor public BaremetalCloudAgent(String name, String description, String remoteFS, String sshUser, Boolean assignPublicIP, Boolean usePrivateIP, int numExecutors, hudson.model.Node.Mode mode, String labelString, String idleTerminationMinutes, List<? extends hudson.slaves.NodeProperty<?>> nodeProperties, String cloudName, int sshConnectTimeoutMillis, String instanceId, String initScript, int initScriptTimeoutSeconds, String host, String sskPrivatekey) throws IOException, hudson.model.Descriptor.FormException
IOExceptionhudson.model.Descriptor.FormExceptionpublic String getInstanceId()
public hudson.slaves.AbstractCloudComputer<BaremetalCloudAgent> createComputer()
createComputer in class hudson.slaves.AbstractCloudSlavepublic BaremetalCloud getCloud()
protected void _terminate(hudson.model.TaskListener listener)
throws IOException,
InterruptedException
_terminate in class hudson.slaves.AbstractCloudSlaveIOExceptionInterruptedExceptionprotected boolean isAlive()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic hudson.model.Node reconfigure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject form)
reconfigure in interface hudson.model.ReconfigurableDescribable<hudson.model.Node>reconfigure in class hudson.model.NodeCopyright © 2016–2018. All rights reserved.