Interface Condition

All Known Subinterfaces:
PropertyCondition
All Known Implementing Classes:
ExpressionPropertyCondition, IsPropertyDefinedCondition, IsPropertyNullCondition, PropertyConditionBase, PropertyEqualityCondition

public interface Condition

A condition evaluated during Joran conditional processing.

Implementations of this interface encapsulate a boolean test that determines whether a conditional block in a Joran configuration should be processed.

Typical implementations evaluate configuration state, environment variables, or other runtime properties.

Since:
0.9.20
Author:
Ceki Gülcü
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Evaluate the condition.
  • Method Details

    • evaluate

      boolean evaluate()
      Evaluate the condition.
      Returns:
      true if the condition is satisfied and the associated conditional block should be activated; false otherwise