public class StartOperation extends LongOperation implements IOperation.InstanceOperation
Modifier and Type | Class and Description |
---|---|
static class |
StartOperation.DescriptorImpl |
Operation.OperationDescriptor
IOperation.BoxOperation, IOperation.InstanceOperation
Constructor and Description |
---|
StartOperation(String tags,
boolean waitForCompletion,
int waitForCompletionTimeout) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
failIfNoInstanceFound() |
void |
perform(ElasticBoxCloud cloud,
String workspace,
hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
TaskLogger logger) |
getWaitForCompletionTimeout, isWaitForCompletion, readResolve
canPerform, getDescriptor, getTags
@DataBoundConstructor public StartOperation(String tags, boolean waitForCompletion, int waitForCompletionTimeout)
public void perform(ElasticBoxCloud cloud, String workspace, hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, TaskLogger logger) throws InterruptedException, IOException
perform
in interface IOperation
InterruptedException
IOException
protected boolean failIfNoInstanceFound()
failIfNoInstanceFound
in class Operation
Copyright © 2016–2019. All rights reserved.