public abstract class BaseExecuteStepBuilder
extends hudson.tasks.Builder
Modifier and Type | Field and Description |
---|---|
protected AdditionalOptionsModel |
additionalOptions |
protected ConnectionInfo |
connection |
Constructor and Description |
---|
BaseExecuteStepBuilder(StepIds stepId,
String serverType,
String server,
String authenticationType,
String userName,
hudson.util.Secret password,
String database) |
Modifier and Type | Method and Description |
---|---|
String |
authenticationTypeEquals(String authenticationType) |
String |
getAuthenticationType() |
String |
getCompareOptions() |
String |
getDatabase() |
String |
getFilterFile() |
hudson.util.Secret |
getPassword() |
protected abstract PowerShellCommand |
getPowerShellCommand(hudson.FilePath workspace) |
String |
getServer() |
String |
getServerType() |
StepIds |
getStepId() |
String |
getTransactionIsoLvl() |
String |
getUserName() |
protected void |
onStarted(hudson.model.BuildListener listener) |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
protected void |
postExecute(hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.FilePath workspace,
boolean buildSuccessful) |
protected boolean |
preExecute(hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.FilePath workspace) |
protected void |
processStepParameterInvalid(String parameterName,
String parameterValue,
String errorMessage,
hudson.model.BuildListener listener) |
String |
serverTypeEquals(String serverType) |
void |
setCompareOptions(String compareOptions) |
void |
setFilterFile(String filterFile) |
void |
setTransactionIsoLvl(String transactionIsoLvl) |
protected boolean |
validateFilterFile(hudson.model.BuildListener listener) |
all, getDescriptor, getRequiredMonitorService, prebuild
protected ConnectionInfo connection
protected AdditionalOptionsModel additionalOptions
public StepIds getStepId()
public String getServerType()
public String getServer()
public String getDatabase()
public String getAuthenticationType()
public String getUserName()
public hudson.util.Secret getPassword()
public String getFilterFile()
public String getCompareOptions()
public String getTransactionIsoLvl()
@DataBoundSetter public void setCompareOptions(String compareOptions)
@DataBoundSetter public void setFilterFile(String filterFile)
@DataBoundSetter public void setTransactionIsoLvl(String transactionIsoLvl)
public boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
perform
in interface hudson.tasks.BuildStep
perform
in class hudson.tasks.BuildStepCompatibilityLayer
protected void onStarted(hudson.model.BuildListener listener)
protected boolean preExecute(hudson.Launcher launcher, hudson.model.TaskListener listener, hudson.FilePath workspace)
protected boolean validateFilterFile(hudson.model.BuildListener listener)
protected void processStepParameterInvalid(String parameterName, String parameterValue, String errorMessage, hudson.model.BuildListener listener)
protected void postExecute(hudson.Launcher launcher, hudson.model.TaskListener listener, hudson.FilePath workspace, boolean buildSuccessful)
protected abstract PowerShellCommand getPowerShellCommand(hudson.FilePath workspace)
Copyright © 2016–2021. All rights reserved.