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.
  • 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.