Class ReviewBoardNotifier.DescriptorImpl

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

@Symbol("notifyReviewBoard") @Extension public static final class ReviewBoardNotifier.DescriptorImpl extends BuildStepDescriptor<Publisher>
Provides the description of the notification build step and validation functions for fields in its configuration 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<Publisher>
      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<Publisher>
      Returns:
      Notification build step display name