LogicalOperationEvaluator (ant-props API)
Description: declaration: package: org.apache.ant.props, class: LogicalOperationEvaluator

# Klasse LogicalOperationEvaluator

java.lang.Object
org.apache.ant.props.RegexBasedEvaluator
org.apache.ant.props.LogicalOperationEvaluator

Alle implementierten Schnittstellen:
  `org.apache.tools.ant.PropertyHelper.Delegate, org.apache.tools.ant.PropertyHelper.PropertyEvaluator`

public class LogicalOperationEvaluator extends RegexBasedEvaluator
`PropertyHelper.PropertyEvaluator` that processes combinations of `!`, `&` (`+` is also accepted for XML ease-of-use), `^` (XOR), and `|`, in descending priority. Probably only useful when used with `NestedPropertyExpander` which, when taken in conjunction with `ConditionTypeEvaluator`, will resolve nested conditions to `true` or `false`, allowing them to be processed by this little fellow. Grouping can be accomplished by means of nested property expressions.

- ## Konstruktorübersicht

  Konstruktoren
  Konstruktor
  Beschreibung
  `LogicalOperationEvaluator()`
  Create a new LogicalOperationEvaluator instance.

- ## Methodenübersicht

  Modifikator und Typ
  Methode
  Beschreibung
  `protected Object`
  `evaluate(String[] groups, org.apache.tools.ant.PropertyHelper propertyHelper)`
  Evaluate the matched groups.

  ### Von Klasse geerbte Methoden RegexBasedEvaluator

  `addOption, evaluate, getPattern, getRegularExpression, setPattern`

  ### Von Klasse geerbte Methoden Object

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

- ## Konstruktordetails

  - ### LogicalOperationEvaluator

    public LogicalOperationEvaluator()
    Create a new LogicalOperationEvaluator instance.

- ## Methodendetails

  - ### evaluate

    protected Object evaluate(String[] groups, org.apache.tools.ant.PropertyHelper propertyHelper)
    Evaluate the matched groups.
    Angegeben von:
      `evaluate` in Klasse `RegexBasedEvaluator`
    Parameter:
      `groups` - the matches from the base regex.
      `propertyHelper` - the calling PropertyHelper.