Package org.apache.synapse.commons.evaluators

# Class Condition

java.lang.Object
org.apache.synapse.commons.evaluators.Condition

public class Condition extends Object
Encapsulates a condition. Every condition has a priority and a boolean expression.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Condition()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Evaluator`
  `getEvaluator()`
  `int`
  `getPriority()`
  `void`
  `setEvaluator(Evaluator evaluator)`
  `void`
  `setPriority(int priority)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Condition

    public Condition()

- ## Method Details

  - ### getPriority

    public int getPriority()

  - ### getEvaluator

    public Evaluator getEvaluator()

  - ### setPriority

    public void setPriority(int priority)

  - ### setEvaluator

    public void setEvaluator(Evaluator evaluator)