Class ToolStep

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

public final class ToolStep extends org.jenkinsci.plugins.workflow.steps.Step
Binds a ToolInstallation to a variable.
  • Constructor Details

    • ToolStep

      @DataBoundConstructor public ToolStep(String name)
  • Method Details

    • getName

      public String getName()
    • getType

      @CheckForNull public String getType()
    • setType

      @DataBoundSetter public void setType(String type)
    • 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