public class DeployBox extends hudson.tasks.Builder implements IInstanceProvider, Serializable
Modifier and Type | Class and Description |
---|---|
static class |
DeployBox.ConverterImpl |
static class |
DeployBox.DescriptorImpl |
Constructor and Description |
---|
DeployBox(String id,
String cloud,
String workspace,
String box,
String boxVersion,
String instanceName,
String profile,
String claims,
String provider,
String location,
String instanceEnvVariable,
String tags,
String variables,
InstanceExpiration expiration,
String autoUpdates,
String alternateAction,
boolean waitForCompletion,
int waitForCompletionTimeout,
String boxDeploymentType) |
Modifier and Type | Method and Description |
---|---|
String |
getAlternateAction() |
String |
getAutoUpdates() |
String |
getBox() |
String |
getBoxDeploymentType() |
String |
getBoxVersion() |
String |
getClaims() |
String |
getCloud() |
ElasticBoxCloud |
getElasticBoxCloud() |
InstanceExpiration |
getExpiration() |
String |
getId()
Gets the unique ID of the build step.
|
String |
getInstanceEnvVariable() |
String |
getInstanceId(hudson.model.AbstractBuild build)
Gets the ID of an instance that can be used in a subsequent build step of a build.
|
String |
getInstanceName() |
int |
getInstances() |
String |
getLocation() |
String |
getProfile() |
String |
getProvider() |
String |
getTags() |
String |
getVariables() |
int |
getWaitForCompletionTimeout() |
String |
getWorkspace() |
boolean |
isWaitForCompletion() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
protected Object |
readResolve() |
all, getDescriptor, getRequiredMonitorService, prebuild
@DataBoundConstructor public DeployBox(String id, String cloud, String workspace, String box, String boxVersion, String instanceName, String profile, String claims, String provider, String location, String instanceEnvVariable, String tags, String variables, InstanceExpiration expiration, String autoUpdates, String alternateAction, boolean waitForCompletion, int waitForCompletionTimeout, String boxDeploymentType)
public boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws InterruptedException, IOException
perform
in interface hudson.tasks.BuildStep
perform
in class hudson.tasks.BuildStepCompatibilityLayer
InterruptedException
IOException
public String getId()
IInstanceProvider
getId
in interface IInstanceProvider
protected final Object readResolve()
public String getCloud()
public String getBoxDeploymentType()
public String getWorkspace()
public String getBox()
public String getBoxVersion()
public String getProfile()
public String getClaims()
public String getProvider()
public String getLocation()
public int getInstances()
public String getInstanceEnvVariable()
public String getTags()
public String getVariables()
public String getAlternateAction()
public String getAutoUpdates()
public boolean isWaitForCompletion()
public InstanceExpiration getExpiration()
public int getWaitForCompletionTimeout()
public String getInstanceName()
public String getInstanceId(hudson.model.AbstractBuild build)
IInstanceProvider
getInstanceId
in interface IInstanceProvider
build
- that is being handlednull
public ElasticBoxCloud getElasticBoxCloud()
getElasticBoxCloud
in interface IInstanceProvider
Copyright © 2016–2019. All rights reserved.