public abstract class AbstractCloudSlave extends Slave
Slave
to be used by AbstractCloudImpl
.
You may want to implement EphemeralNode
too.Slave.JnlpJar, Slave.SlaveDescriptor
Node.InternalComputerListener, Node.Mode
ExtensionPoint.LegacyInstancesAreScopedToHudson
holdOffLaunchUntilSave
Constructor and Description |
---|
AbstractCloudSlave(String name,
String nodeDescription,
String remoteFS,
int numExecutors,
Node.Mode mode,
String labelString,
ComputerLauncher launcher,
RetentionStrategy retentionStrategy,
List<? extends NodeProperty<?>> nodeProperties) |
AbstractCloudSlave(String name,
String nodeDescription,
String remoteFS,
String numExecutors,
Node.Mode mode,
String labelString,
ComputerLauncher launcher,
RetentionStrategy retentionStrategy,
List<? extends NodeProperty<?>> nodeProperties) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
_terminate(TaskListener listener)
Performs the removal of the underlying resource from the cloud.
|
abstract AbstractCloudComputer |
createComputer()
|
void |
terminate()
Releases and removes this slave.
|
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, toString
canTake, canTake, checkPermission, createPath, getACL, getAssignedLabels, getChannel, getClockDifference, getDisplayName, getFileSystemProvisioner, getLabelCloud, getNodePropertyDescriptors, getSearchUrl, getSelfLabel, hasPermission, isAcceptingTasks, isHoldOffLaunchUntilSave, reconfigure, save, toComputer
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
public AbstractCloudSlave(String name, String nodeDescription, String remoteFS, String numExecutors, Node.Mode mode, String labelString, ComputerLauncher launcher, RetentionStrategy retentionStrategy, List<? extends NodeProperty<?>> nodeProperties) throws Descriptor.FormException, IOException
Descriptor.FormException
IOException
public AbstractCloudSlave(String name, String nodeDescription, String remoteFS, int numExecutors, Node.Mode mode, String labelString, ComputerLauncher launcher, RetentionStrategy retentionStrategy, List<? extends NodeProperty<?>> nodeProperties) throws Descriptor.FormException, IOException
Descriptor.FormException
IOException
public abstract AbstractCloudComputer createComputer()
Node
Computer
object that acts as the UI peer of this Node
.
Nobody but Jenkins.updateComputerList()
should call this method.createComputer
in class Slave
public void terminate() throws InterruptedException, IOException
InterruptedException
IOException
protected abstract void _terminate(TaskListener listener) throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2016. All rights reserved.