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() |
hudson.util.Secret |
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 hudson.util.Secret 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.BuildStep
perform
in class hudson.tasks.BuildStepCompatibilityLayer
InterruptedException
IOException
public EnvironmentManagerBuilder.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Builder>
getDescriptor
in class hudson.tasks.Builder
Copyright © 2016–2021 Parasoft. All rights reserved.