public class SwarmSlave extends Slave implements EphemeralNode
Slave created by ad-hoc local systems.
This acts like a JNLP slave, except when the client disconnects, the slave will be deleted.
| Modifier and Type | Class and Description |
|---|---|
static class |
SwarmSlave.DescriptorImpl |
Slave.JnlpJar, Slave.SlaveDescriptorNode.InternalComputerListener, Node.ModeExtensionPoint.LegacyInstancesAreScopedToHudsonholdOffLaunchUntilSave| Constructor and Description |
|---|
SwarmSlave(String name,
String nodeDescription,
String remoteFS,
String numExecutors,
Node.Mode mode,
String labelString,
ComputerLauncher launcher,
RetentionStrategy<?> retentionStrategy,
List<? extends NodeProperty<?>> nodeProperties) |
SwarmSlave(String name,
String nodeDescription,
String remoteFS,
String numExecutors,
Node.Mode mode,
String label,
List<? extends NodeProperty<?>> nodeProperties) |
| Modifier and Type | Method and Description |
|---|---|
Node |
asNode() |
createComputer, createLauncher, equals, getClockDifferenceCallable, getComputer, getDescriptor, getLabelString, getLauncher, getMode, getNodeDescription, getNodeName, getNodeProperties, getNumExecutors, getRemoteFS, getRetentionStrategy, getRootPath, getUserId, getWorkspaceFor, getWorkspaceRoot, hashCode, readResolve, setLabelString, setLauncher, setMode, setNodeDescription, setNodeName, setNodeProperties, setNumExecutors, setRetentionStrategy, setUserId, toStringcanTake, canTake, checkPermission, createPath, getACL, getAssignedLabels, getChannel, getClockDifference, getDisplayName, getFileSystemProvisioner, getLabelCloud, getNodeProperty, getNodeProperty, getNodePropertyDescriptors, getSearchUrl, getSelfLabel, hasPermission, isAcceptingTasks, isHoldOffLaunchUntilSave, reconfigure, save, toComputergetSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendErrorpublic SwarmSlave(String name, String nodeDescription, String remoteFS, String numExecutors, Node.Mode mode, String label, List<? extends NodeProperty<?>> nodeProperties) throws IOException, Descriptor.FormException
IOExceptionDescriptor.FormException@DataBoundConstructor public SwarmSlave(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.FormExceptionIOExceptionpublic Node asNode()
asNode in interface EphemeralNodeCopyright © 2016–2019. All rights reserved.