Class HALMTestReporterDescriptor

    • Constructor Detail

      • HALMTestReporterDescriptor

        public HALMTestReporterDescriptor()
        Constructor
    • Method Detail

      • doFillHalmConnectionIDItems

        public ListBoxModel doFillHalmConnectionIDItems()
        Populates the 'credentialType' dropdown with appropriate values.
        Returns:
        Credential Type dropdown list values.
      • doCheckHalmConnectionID

        @POST
        public FormValidation doCheckHalmConnectionID​(@QueryParameter("value")
                                                      String halmConnectionID)
        Checks the entered connection ID.
        Parameters:
        halmConnectionID - - the currently selected connection ID.
        Returns:
        error if the connection is invalid (can't connect).
      • doFillProjectIDItems

        public ListBoxModel doFillProjectIDItems​(@QueryParameter("halmConnectionID")
                                                 String halmConnectionID)
        Populates the 'projectID' dropdown based on the selection of the connectionID dropdown.
        Parameters:
        halmConnectionID - Currently selected halmConnectionID
        Returns:
        Populated list of entries for the projectID dropdown.
      • doCheckProjectID

        @POST
        public FormValidation doCheckProjectID​(@QueryParameter("value")
                                               String projectID)
        Validates the input to the projectID field.
        Parameters:
        projectID - - The current value of the projectID field.
        Returns:
        OK unless the item is blank (projectID cannot be blank).
      • doFillAutomationSuiteIDItems

        public ListBoxModel doFillAutomationSuiteIDItems​(@QueryParameter("halmConnectionID")
                                                         String halmConnectionID,
                                                         @QueryParameter("projectID")
                                                         String projectID)
        Populates the Automation Suite dropdown based on the selected connection and project.
        Parameters:
        halmConnectionID - Currently selected HALM Connection UUID
        projectID - Currently selected HALM Project UUID
        Returns:
        Populated list of entries for the automationSuiteName dropdown
      • doCheckAutomationSuiteID

        @POST
        public FormValidation doCheckAutomationSuiteID​(@QueryParameter("value")
                                                       String automationSuiteID)
        Validates the input to the automationSuite field.
        Parameters:
        automationSuiteID - - The current value of the automationSuite field.
        Returns:
        OK unless the item is blank (automationSuite cannot be blank).
      • doFillTestFileFormatItems

        public ListBoxModel doFillTestFileFormatItems()
        Populates the Test File Format dropdown.
        Returns:
        Populated list of entries for the testFileFormat dropdown.
      • doFillTestRunSetIDItems

        public ListBoxModel doFillTestRunSetIDItems​(@QueryParameter("halmConnectionID")
                                                    String halmConnectionID,
                                                    @QueryParameter("projectID")
                                                    String projectID)
        Populates the Test Run Set dropdown.
        Parameters:
        halmConnectionID - Currently selected HALM Connection UUID
        projectID - Currently selected HALM Project UUID
        Returns:
        Populated list of entries for the automationSuiteName dropdown