org.apache.hivemind.conditional
Class PropertyEvaluator

java.lang.Object
  extended by org.apache.hivemind.conditional.PropertyEvaluator
All Implemented Interfaces:
Evaluator

public class PropertyEvaluator
extends java.lang.Object
implements Evaluator

Evaluates a system property and returns true if its value is true.

Since:
1.1
Author:
Howard M. Lewis Ship

Constructor Summary
PropertyEvaluator(java.lang.String propertyName)
           
 
Method Summary
 boolean evaluate(EvaluationContext context, Node node)
          Invokes EvaluationContext.isPropertySet(String).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyEvaluator

public PropertyEvaluator(java.lang.String propertyName)
Method Detail

evaluate

public boolean evaluate(EvaluationContext context,
                        Node node)
Invokes EvaluationContext.isPropertySet(String).

Specified by:
evaluate in interface Evaluator