public class Slave
extends hudson.slaves.AbstractCloudSlave
Slave is responsible for
ComputerDroplet if it's not needed anymore.| Modifier and Type | Class and Description |
|---|---|
static class |
Slave.DescriptorImpl |
hudson.model.Slave.JnlpJar, hudson.model.Slave.SlaveDescriptor| Constructor and Description |
|---|
Slave(String cloudName,
String name,
String nodeDescription,
Integer dropletId,
String privateKey,
String remoteAdmin,
String remoteFS,
int sshPort,
int numExecutors,
int idleTerminationTime,
hudson.model.Node.Mode mode,
String labelString,
hudson.slaves.ComputerLauncher launcher,
hudson.slaves.RetentionStrategy retentionStrategy,
List<? extends hudson.slaves.NodeProperty<?>> nodeProperties,
String initScript,
String jvmOpts)
Slaves are created by SlaveTemplates |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_terminate(hudson.model.TaskListener listener)
Deletes the
Droplet when not needed anymore. |
Computer |
createComputer()
Override to create a DigitalOcean
Computer |
Cloud |
getCloud()
Retrieve a handle to the associated
Cloud |
Integer |
getDropletId() |
int |
getIdleTerminationTime() |
String |
getInitScript() |
String |
getJvmOpts() |
String |
getPrivateKey() |
String |
getRemoteAdmin()
Get the name of the remote admin user
|
int |
getSshPort() |
long |
getStartTimeMillis() |
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, reconfigure, save, toComputerpublic Slave(String cloudName, String name, String nodeDescription, Integer dropletId, String privateKey, String remoteAdmin, String remoteFS, int sshPort, int numExecutors, int idleTerminationTime, hudson.model.Node.Mode mode, String labelString, hudson.slaves.ComputerLauncher launcher, hudson.slaves.RetentionStrategy retentionStrategy, List<? extends hudson.slaves.NodeProperty<?>> nodeProperties, String initScript, String jvmOpts) throws hudson.model.Descriptor.FormException, IOException
Slaves are created by SlaveTemplateshudson.model.Descriptor.FormExceptionIOExceptionpublic Computer createComputer()
ComputercreateComputer in class hudson.slaves.AbstractCloudSlavepublic Cloud getCloud()
Cloudpublic String getRemoteAdmin()
protected void _terminate(hudson.model.TaskListener listener)
throws IOException,
InterruptedException
Droplet when not needed anymore._terminate in class hudson.slaves.AbstractCloudSlavelistener - UnusedIOExceptionInterruptedExceptionpublic long getStartTimeMillis()
public Integer getDropletId()
public String getPrivateKey()
public int getIdleTerminationTime()
public String getInitScript()
public String getJvmOpts()
public int getSshPort()
Copyright © 2004-2016. All Rights Reserved.