Class AbstractToolDescriptor

java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<Builder>
de.tracetronic.jenkins.plugins.ecutest.tool.AbstractToolDescriptor
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Direct Known Subclasses:
LicenseETBuilder.DescriptorImpl, StartETBuilder.DescriptorImpl, StartTSBuilder.DescriptorImpl, StopETBuilder.DescriptorImpl, StopTSBuilder.DescriptorImpl

public abstract class AbstractToolDescriptor extends BuildStepDescriptor<Builder>
Common base descriptor class for all test related task build descriptors implemented in this plugin.
  • Field Details

    • toolValidator

      protected final transient ToolValidator toolValidator
      Validator to check form fields.
  • Constructor Details

  • Method Details

    • getInstallations

      public ETInstallation[] getInstallations()
      Gets the tool installations.
      Returns:
      the installations
    • getToolDescriptor

      public ETInstallation.DescriptorImpl getToolDescriptor()
      Gets the tool descriptor holding the installations.
      Returns:
      the tool descriptor
    • isApplicable

      public boolean isApplicable(Class<? extends AbstractProject> jobType)
      Specified by:
      isApplicable in class BuildStepDescriptor<Builder>
    • getDefaultTimeout

      public abstract int getDefaultTimeout()
      Gets the default timeout.
      Returns:
      the default timeout
    • doCheckTimeout

      public FormValidation doCheckTimeout(@QueryParameter String value)
      Validates the timeout.
      Parameters:
      value - the timeout
      Returns:
      the form validation