@Extension public class ElasticBoxSlaveHandler extends ElasticBoxExecutor.Workload
| Modifier and Type | Field and Description |
|---|---|
static int |
TIMEOUT_MINUTES |
| Constructor and Description |
|---|
ElasticBoxSlaveHandler() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
addToTerminatedQueue(ElasticBoxSlave slave) |
protected void |
execute(hudson.model.TaskListener listener) |
static List<net.sf.json.JSONObject> |
getActiveInstances(ElasticBoxCloud cloud) |
protected ElasticBoxExecutor.ExecutionType |
getExecutionType() |
static ElasticBoxSlaveHandler |
getInstance() |
static boolean |
isSubmitted(ElasticBoxSlave slave) |
static void |
launchSingleUseSlave(AbstractSlaveConfiguration slaveCfg,
String label) |
protected void |
resubmitRequest(com.elasticbox.jenkins.ElasticBoxSlaveHandler.InstanceCreationRequest request) |
static IProgressMonitor |
submit(ElasticBoxSlave slave) |
void |
tagSlaveInstance(net.sf.json.JSONObject instance,
ElasticBoxSlave slave) |
log, log, log, logpublic static final ElasticBoxSlaveHandler getInstance()
public static final IProgressMonitor submit(ElasticBoxSlave slave)
protected void resubmitRequest(com.elasticbox.jenkins.ElasticBoxSlaveHandler.InstanceCreationRequest request)
public static final boolean isSubmitted(ElasticBoxSlave slave)
public static final boolean addToTerminatedQueue(ElasticBoxSlave slave)
public static List<net.sf.json.JSONObject> getActiveInstances(ElasticBoxCloud cloud) throws IOException
IOExceptionpublic void tagSlaveInstance(net.sf.json.JSONObject instance,
ElasticBoxSlave slave)
throws IOException
IOExceptionprotected ElasticBoxExecutor.ExecutionType getExecutionType()
getExecutionType in class ElasticBoxExecutor.Workloadprotected void execute(hudson.model.TaskListener listener)
throws IOException
execute in class ElasticBoxExecutor.WorkloadIOExceptionpublic static void launchSingleUseSlave(AbstractSlaveConfiguration slaveCfg, String label) throws IOException, hudson.model.Descriptor.FormException
IOExceptionhudson.model.Descriptor.FormExceptionCopyright © 2016–2019. All rights reserved.