Class SQLStep

java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
org.jenkinsci.plugins.database.steps.SQLStep
All Implemented Interfaces:
ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>

public class SQLStep extends org.jenkinsci.plugins.workflow.steps.Step
  • Field Details

  • Constructor Details

    • SQLStep

      @DataBoundConstructor public SQLStep(String sql)
  • Method Details

    • getSql

      public String getSql()
    • getConnection

      public String getConnection()
    • setConnection

      @DataBoundSetter public void setConnection(@CheckForNull String connection)
    • getParameters

      public List<Object> getParameters()
    • setParameters

      @DataBoundSetter public void setParameters(List<Object> parameters)
    • start

      public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception
      Specified by:
      start in class org.jenkinsci.plugins.workflow.steps.Step
      Throws:
      Exception
    • getDescriptor

      public org.jenkinsci.plugins.workflow.steps.StepDescriptor getDescriptor()
      Specified by:
      getDescriptor in interface Describable<org.jenkinsci.plugins.workflow.steps.Step>
      Overrides:
      getDescriptor in class org.jenkinsci.plugins.workflow.steps.Step