Class BuildBlockerProperty.BuildBlockerDescriptor

java.lang.Object
hudson.model.Descriptor<JobProperty<?>>
hudson.model.JobPropertyDescriptor
hudson.plugins.buildblocker.BuildBlockerProperty.BuildBlockerDescriptor
All Implemented Interfaces:
Saveable, OnMaster
Enclosing class:
BuildBlockerProperty

@Extension @Symbol("buildBlocker") public static final class BuildBlockerProperty.BuildBlockerDescriptor extends JobPropertyDescriptor
Descriptor
  • Constructor Details

    • BuildBlockerDescriptor

      public BuildBlockerDescriptor()
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Returns the name to be shown on the website
      Overrides:
      getDisplayName in class Descriptor<JobProperty<?>>
      Returns:
      the name to be shown on the website.
    • doCheckRegex

      public FormValidation doCheckRegex(@QueryParameter String blockingJobs)
      Check the regular expression entered by the user
    • isApplicable

      public boolean isApplicable(Class<? extends Job> jobType)
      Returns always true as it can be used in all types of jobs.
      Overrides:
      isApplicable in class JobPropertyDescriptor
      Parameters:
      jobType - the job type to be checked if this property is applicable.
      Returns:
      true