Interface FaultAware

All Known Subinterfaces:
BndBaselineEvaluation, TestResult
All Known Implementing Classes:
DefaultBndBaselineEvaluation, DefaultTestResult

public interface FaultAware
Implemented by resources that can be evaluated, but want to indicate that something went wrong. A typical example is a TestResult. As a resource it can be evaluated even if tests failed. Nevertheless, it should be easily visible that something went wrong.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks if the resource is faulty.
    Sets the faulty state.
  • Method Details

    • isFaulty

      boolean isFaulty()
      Checks if the resource is faulty.
      Returns:
      true, if is faulty
    • setFaulty

      Sets the faulty state.
      Returns:
      the fault aware