public class CompoundSlave
extends hudson.slaves.AbstractCloudSlave
CompoundBuilder
to run commands on separate slaves.Modifier and Type | Class and Description |
---|---|
static class |
CompoundSlave.DescriptorImpl |
static class |
CompoundSlave.Entry
Entry to pass around jelly-made ui
|
hudson.model.Slave.JnlpJar, hudson.model.Slave.SlaveDescriptor
Constructor and Description |
---|
CompoundSlave(String name,
String description,
String label,
List<CompoundSlave.Entry> slaveEntries) |
Modifier and Type | Method and Description |
---|---|
protected void |
_terminate(hudson.model.TaskListener listener)
Terminates all the cloud-based sub-slaves within the compound slave
|
hudson.slaves.AbstractCloudComputer<CompoundSlave> |
createComputer() |
static void |
enslave(hudson.model.Slave slave,
CompoundSlave master) |
static void |
free(hudson.model.Slave slave) |
Map<String,List<hudson.model.Slave>> |
getAllSlaves() |
List<CompoundSlave.Entry> |
getEntries() |
hudson.model.Slave |
getSelf() |
int |
getSlaveNumber() |
List<hudson.model.Slave> |
getSlaves(String role) |
protected static Map<String,List<String>> |
makeNames(List<CompoundSlave.Entry> entries) |
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
canTake, canTake, checkPermission, createPath, getACL, getAssignedLabels, getChannel, getClockDifference, getDisplayName, getFileSystemProvisioner, getLabelCloud, getNodePropertyDescriptors, getSearchUrl, getSelfLabel, hasPermission, isHoldOffLaunchUntilSave, reconfigure, toComputer
public static final String ROLE_ROOT
@DataBoundConstructor public CompoundSlave(String name, String description, String label, List<CompoundSlave.Entry> slaveEntries) throws hudson.model.Descriptor.FormException, IOException
hudson.model.Descriptor.FormException
IOException
public List<CompoundSlave.Entry> getEntries()
public int getSlaveNumber()
public hudson.model.Slave getSelf()
public hudson.slaves.AbstractCloudComputer<CompoundSlave> createComputer()
createComputer
in class hudson.slaves.AbstractCloudSlave
protected void _terminate(hudson.model.TaskListener listener) throws IOException, InterruptedException
_terminate
in class hudson.slaves.AbstractCloudSlave
IOException
InterruptedException
public static void free(hudson.model.Slave slave)
public static void enslave(hudson.model.Slave slave, CompoundSlave master)
Copyright © 2004-2015. All Rights Reserved.