public class EnvironmentManagerBuilder
extends hudson.tasks.Builder
| Modifier and Type | Class and Description |
|---|---|
static class |
EnvironmentManagerBuilder.DescriptorImpl |
| Constructor and Description |
|---|
EnvironmentManagerBuilder(int systemId,
int environmentId,
int instanceId,
boolean copyToServer,
String newEnvironmentName,
String serverType,
int serverId,
String serverHost,
String serverName,
boolean copyDataRepo,
String repoType,
String repoHost,
int repoPort,
String repoUsername,
String repoPassword,
boolean abortOnFailure) |
| Modifier and Type | Method and Description |
|---|---|
EnvironmentManagerBuilder.DescriptorImpl |
getDescriptor() |
int |
getEnvironmentId() |
int |
getInstanceId() |
String |
getNewEnvironmentName() |
String |
getRepoHost() |
String |
getRepoPassword() |
int |
getRepoPort() |
String |
getRepoUsername() |
String |
getServerHost() |
int |
getServerId() |
String |
getServerName() |
int |
getSystemId() |
boolean |
isAbortOnFailure() |
boolean |
isCopyDataRepo() |
boolean |
isCopyToServer() |
boolean |
isRepoType(String type) |
boolean |
isServerType(String type) |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
@DataBoundConstructor
public EnvironmentManagerBuilder(int systemId,
int environmentId,
int instanceId,
boolean copyToServer,
String newEnvironmentName,
String serverType,
int serverId,
String serverHost,
String serverName,
boolean copyDataRepo,
String repoType,
String repoHost,
int repoPort,
String repoUsername,
String repoPassword,
boolean abortOnFailure)
public int getSystemId()
public int getEnvironmentId()
public int getInstanceId()
public boolean isCopyToServer()
public String getNewEnvironmentName()
public boolean isServerType(String type)
public int getServerId()
public String getServerHost()
public String getServerName()
public boolean isCopyDataRepo()
public boolean isRepoType(String type)
public String getRepoHost()
public int getRepoPort()
public String getRepoUsername()
public String getRepoPassword()
public boolean isAbortOnFailure()
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerInterruptedExceptionIOExceptionpublic EnvironmentManagerBuilder.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>getDescriptor in class hudson.tasks.BuilderCopyright © 2016–2017. All rights reserved.