Class NotifTestSuiteExecution

java.lang.Object
flexagon.ff.common.core.pojos.BasePOJO
flexagon.fd.model2.notification.pojos.NotifTestSuiteExecution
All Implemented Interfaces:
Serializable

public class NotifTestSuiteExecution extends BasePOJO
Represents a FlexDeploy Test Automation Framework test case result. For use within Notification Templates.
See Also:
  • Constructor Details

    • NotifTestSuiteExecution

      public NotifTestSuiteExecution(String pInstanceName, String pStatus, List<NotifTestExecution> pTestExecutions)
      Creates an instance of this object with the given state information.
      Parameters:
      pInstanceName - The name of the instance the test suite was executed on.
      pStatus - The status of the test suite execution.
      pTestExecutions - A list of test executions within this test suite.
  • Method Details

    • getInstanceName

      public String getInstanceName()
      Returns the name of the instance the test suite was executed on.
      Returns:
      The name of the instance the test suite was executed on.
    • getStatusEnum

      public TestRunStatus getStatusEnum()
      Returns the status of the test suite execution.
      Returns:
      The status of the test suite execution.
    • getStatus

      public String getStatus()
      Returns the status name of the test suite execution.
      Returns:
      The status name of the test suite execution.
    • getTestExecutions

      public List<NotifTestExecution> getTestExecutions()
      Returns the list of test executions within this test suite.
      Returns:
      The list of test executions within this test suite.
    • isRunning

      public boolean isRunning()
      Returns whether the test suite execution status is RUNNING.
      Returns:
      Whether the test suite execution status is RUNNING.
    • isPassed

      public boolean isPassed()
      Returns whether the test suite execution status is PASSED.
      Returns:
      Whether the test suite execution status is PASSED.
    • isFailed

      public boolean isFailed()
      Returns whether the test suite execution status is FAILED.
      Returns:
      Whether the test suite execution status is FAILED.