Class Oak9Builder.DescriptorImpl

    • Constructor Detail

      • DescriptorImpl

        public DescriptorImpl()
    • Method Detail

      • doCheckOrgId

        public FormValidation doCheckOrgId​(@QueryParameter
                                           String value)
                                    throws IOException,
                                           javax.servlet.ServletException
        Check to make sure the user has entered an Org Id
        Parameters:
        value - the string value of the input being checked
        Returns:
        FormValidation
        Throws:
        IOException - thrown by the Jenkins core
        javax.servlet.ServletException - thrown by the Jenkins core
      • doCheckBaseUrl

        public FormValidation doCheckBaseUrl​(@QueryParameter
                                             String value)
                                      throws IOException,
                                             javax.servlet.ServletException
        Check to make sure the user has not unset the BaseURL
        Parameters:
        value - the string value of the input being checked
        Returns:
        FormValidation
        Throws:
        IOException - thrown by the Jenkins core
        javax.servlet.ServletException - thrown by the Jenkins core
      • doCheckProjectId

        public FormValidation doCheckProjectId​(@QueryParameter
                                               String value)
                                        throws IOException,
                                               javax.servlet.ServletException
        Check to make sure the user has entered a Project Id
        Parameters:
        value - the string value of the input being checked
        Returns:
        FormValidation
        Throws:
        IOException - thrown by Jenkins core
        javax.servlet.ServletException - thrown by Jenkins core
      • doCheckCredentialsId

        public FormValidation doCheckCredentialsId​(@QueryParameter
                                                   String value)
                                            throws IOException,
                                                   javax.servlet.ServletException
        Check to make sure the user has selected a credential
        Parameters:
        value - The string value of the input being checked
        Returns:
        FormValidation
        Throws:
        IOException - thrown by Jenkins core
        javax.servlet.ServletException - thrown by Jenkins core
      • doFillMaxSeverityItems

        @POST
        public ListBoxModel doFillMaxSeverityItems()
        Fill the select list with available Oak9 Severities
        Returns:
        ListBoxModel
      • doFillCredentialsIdItems

        @POST
        public ListBoxModel doFillCredentialsIdItems​(@QueryParameter
                                                     String serverUrl,
                                                     @QueryParameter
                                                     String credentialsId)
        Fill the select list with permissible credentials
        Parameters:
        serverUrl - the jenkins Server url
        credentialsId - - the credentials ID that is currently selected
        Returns:
      • defaultBaseUrl

        public String defaultBaseUrl()