Class HALMTestReporterObject


  • public class HALMTestReporterObject
    extends Object
    Class object containing necessary fields for build submission Used to submit information to the common function in one object.
    • Constructor Detail

      • HALMTestReporterObject

        public HALMTestReporterObject()
      • HALMTestReporterObject

        public HALMTestReporterObject​(String connID,
                                      String projID,
                                      long suiteID,
                                      String filePattern,
                                      String fileFormat,
                                      long setID,
                                      String desc,
                                      String b)
    • Method Detail

      • getHalmConnectionID

        public String getHalmConnectionID()
                                   throws NullPointerException
        Gets the selected Helix ALM connection ID, or throws an exception if no selection is made.
        Returns:
        - the connectionID assigned to this object.
        Throws:
        NullPointerException - - if halmConnectionID is null.
      • setHalmConnectionID

        public void setHalmConnectionID​(String connID)
      • getProjectID

        public String getProjectID()
                            throws Exception
        Gets the selected Helix ALM project ID, or throws an exception if no selection is made.
        Returns:
        - the projectID assigned to this object.
        Throws:
        NullPointerException - - if projectID is null.
        Exception
      • setProjectID

        public void setProjectID​(String projID)
      • getAutomationSuiteID

        public long getAutomationSuiteID()
                                  throws Exception
        Returns:
        the selected automation suite.
        Throws:
        Exception - - if automationSuiteID is invalid
      • setAutomationSuiteID

        public void setAutomationSuiteID​(long suiteID)
      • setTestFilePattern

        public void setTestFilePattern​(String filePattern)
      • getTestFileFormat

        public String getTestFileFormat()
      • setTestFileFormat

        public void setTestFileFormat​(String fileFormat)
      • getTestRunSetID

        public long getTestRunSetID()
        Gets the ID of a test run set so the build can be associated with it.
        Returns:
        the id of the test run set. -1 if unset.
      • setTestRunSetID

        public void setTestRunSetID​(long setID)
        Sets the ID of a test run set.
        Parameters:
        setID - - The ID of the test run set to send up to the server
      • getTestRunSet

        public String getTestRunSet()
        Gets the name of a test run set so the build can be associated with it.
        Returns:
        the name of the test run set. Null if unset.
      • setTestRunSet

        public void setTestRunSet​(String set)
        Sets the name of the test run set to associate to the build.
        Parameters:
        set - - the test run set's name
      • getBranch

        public String getBranch()
      • setBranch

        public void setBranch​(String b)
      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String d)