com.tibco.cep.kernel.model.rule

## Interface Condition

-     public interface Condition

  Represents a condition within a rule.
  Since:
    2.0.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `alwaysEvaluate()` Lets the rule engine knows if this condition needs to be re-evaluated everytime and not memorize its result.
    `boolean` | `eval(java.lang.Object[] objects)` Evaluates the expression of this `Condition`.
    `Identifier[]` | `getIdentifiers()` Gets all the `Identifier` objects that will be used for this `Condition`.
    `Rule` | `getRule()` Gets the rule that contains this Condition.

- - ### Method Detail

    - #### getIdentifiers

          Identifier[] getIdentifiers()

      Gets all the `Identifier` objects that will be used for this `Condition`.
      Returns:
        array of `Identifier`.
      Since:
        2.0.0

    - #### eval

          boolean eval(java.lang.Object[] objects)

      Evaluates the expression of this `Condition`.
      Parameters:
        `objects` - `Object[]` containing parameter values for the expression.
      Returns:
        the boolean result of the evaluation.
      Since:
        2.0.0

    - #### getRule

          Rule getRule()

      Gets the rule that contains this Condition.
      Returns:
        Rule of this Action
      Since:
        2.0.0

    - #### alwaysEvaluate

          boolean alwaysEvaluate()

      Lets the rule engine knows if this condition needs to be re-evaluated everytime and not memorize its result.
      Returns:
        true if always need to re-evaluate this condition for a rule.
      Since:
        2.0.0