java.lang.Object
COM.TIBCO.hawk.config.rbengine.rulebase.policy.ClearTest
All Implemented Interfaces:
ClearConditionPolicy

public class ClearTest extends Object implements ClearConditionPolicy
A ClearTest policy indicates that a test should transition to the false state upon the true evaluation of the clear test expression contained in the ClearTest policy object.
  • Constructor Details

    • ClearTest

      public ClearTest(Operator test)
      Constructs a ClearTest object
      Parameters:
      test - the policy's test expression
      Throws:
      IllegalArgumentException - if test is null
  • Method Details

    • getTestExpressionOperator

      public Operator getTestExpressionOperator()
      Answer the test for the clear test.
    • equals

      public boolean equals(Object obj)
      Compares two ClearTest objects for equality.
      Overrides:
      equals in class Object
    • getClearOnTestName

      protected String getClearOnTestName()
      Answer the ClearOnTestName.
    • setClearOnTestName

      protected void setClearOnTestName(String name)
      Set the ClearOnTestName.