Klasse ConditionTypeEvaluator

java.lang.Object
org.apache.ant.props.RegexBasedEvaluator
org.apache.ant.props.ConditionTypeEvaluator
Alle implementierten Schnittstellen:
org.apache.tools.ant.PropertyHelper.Delegate, org.apache.tools.ant.PropertyHelper.PropertyEvaluator

public class ConditionTypeEvaluator extends RegexBasedEvaluator
Property evaluator that evaluates Ant conditions to a Boolean instance matching the condition's outcome.

Default syntax is [!]condition(attribute=value), for example os(family=unix) or !os(family=unix).

  • Konstruktordetails

    • ConditionTypeEvaluator

      public ConditionTypeEvaluator()
      Create a new ConditionTypeEvaluator 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.