ilog.rules.dvs.common.output

Interface IlrStatusCapable

  • All Known Subinterfaces:
    IlrScenarioTestResult, IlrTestResult
    All Known Implementing Classes:
    IlrRBTTestReport, ilog.rules.dvs.common.output.impl.IlrTestResultImpl


    public interface IlrStatusCapable
    Base interface for all classes that have a status and can return an error cause.
    Since:
    7.0
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.Throwable getErrorCause()
      Returns the error cause.
      IlrTestStatus getStatus()
      Returns the status.
      boolean isPassed()
      If the status is set to PASSED, true is returned.
    • Method Detail

      • isPassed

        boolean isPassed()
        If the status is set to PASSED, true is returned.
        Returns:
        true if status==PASSED.
      • getStatus

        IlrTestStatus getStatus()
        Returns the status.
        Returns:
        The status can be one of the following: PASSED, FAILED, or ERROR.
      • getErrorCause

        java.lang.Throwable getErrorCause()
        Returns the error cause.
        Returns:
        If status==ERROR, the error is returned. If no error has happened, null is returned.

© Copyright IBM Corp. 1987, 2017