Class SQLStep

  • All Implemented Interfaces:
    ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>

    public class SQLStep
    extends org.jenkinsci.plugins.workflow.steps.Step
    • Constructor Detail

      • SQLStep

        @DataBoundConstructor
        public SQLStep​(String sql)
    • Method Detail

      • 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