Class GroovyPostbuildDescriptor

java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<Publisher>
org.jvnet.hudson.plugins.groovypostbuild.GroovyPostbuildDescriptor
All Implemented Interfaces:
Saveable, Loadable, OnMaster

@Extension public class GroovyPostbuildDescriptor extends BuildStepDescriptor<Publisher>
  • Constructor Details

  • Method Details

    • getDisplayName

      public final String getDisplayName()
      Gets the descriptor display name, used in the post step checkbox description.
      Overrides:
      getDisplayName in class Descriptor<Publisher>
      Returns:
      the descriptor display name
    • getHelpFile

      public String getHelpFile()
      Overrides:
      getHelpFile in class Descriptor<Publisher>
    • isApplicable

      public final boolean isApplicable(Class<? extends AbstractProject> clazz)
      Checks whether this descriptor is applicable.
      Specified by:
      isApplicable in class BuildStepDescriptor<Publisher>
      Parameters:
      clazz - the class
      Returns:
      true
    • isMatrixProject

      public boolean isMatrixProject(Object it)
      Check whether the configuring model is MatrixProject. Called from jelly. Note: Caller should pass it for the model is not bound to StaplerRequest.findAncestorObject(Class) when called via hetelo-list.
      Parameters:
      it -
      Returns:
      true if the target model is MatrixProject
    • addAliases

      @Initializer(before=PLUGINS_STARTED) public static void addAliases()