Class ReviewBoardSetup.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<Builder>
org.reviewboard.rbjenkins.steps.ReviewBoardSetup.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
ReviewBoardSetup

@Symbol("publishReview") @Extension public static final class ReviewBoardSetup.DescriptorImpl extends BuildStepDescriptor<Builder>
Provides the description of the setup build step and validation functions for fields in its form.
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • doCheckReviewBoardServer

      public FormValidation doCheckReviewBoardServer(@QueryParameter String value)
      This validates the Review Board server configuration name. Mostly it checks if there has been a server configuration created.
      Parameters:
      value - Review Board server config name
      Returns:
      FormValidation
    • isApplicable

      public boolean isApplicable(Class<? extends AbstractProject> aClass)
      Informs Jenkins of whether or not this build step is applicable to the current job, which it always is.
      Specified by:
      isApplicable in class BuildStepDescriptor<Builder>
      Parameters:
      aClass - The project class
      Returns:
      true
    • getDisplayName

      public String getDisplayName()
      Returns the display name for this build step, as shown in the Jenkins GUI.
      Overrides:
      getDisplayName in class Descriptor<Builder>
      Returns:
      Setup build step display name