Class ReviewBoardServerConfiguration.DescriptorImpl

    • Constructor Detail

      • DescriptorImpl

        public DescriptorImpl()
    • Method Detail

      • doCheckName

        public FormValidation doCheckName​(@QueryParameter
                                          String value)
        Validates the given config name specified in the form.
        Parameters:
        value - Configuration name
        Returns:
        FormValidation status
      • doCheckReviewBoardURL

        public FormValidation doCheckReviewBoardURL​(@QueryParameter
                                                    String value)
        Validates the given Review Board URL specified in the form.
        Parameters:
        value - Review Board URL
        Returns:
        FormValidation status
      • doFillCredentialsIdItems

        public ListBoxModel doFillCredentialsIdItems​(@QueryParameter
                                                     String reviewBoardURL,
                                                     @QueryParameter
                                                     String credentialsId)
        Fills the API token credentials dropdown box with credentials that are valid for the Review Board endpoint.
        Parameters:
        reviewBoardURL - Review Board server URL
        credentialsId - Credentials identifier
        Returns:
        ListBoxModel containing credential IDs