org.jppf.node.policy
Class ExecutionPolicy.LogicalRule

java.lang.Object
  extended by org.jppf.node.policy.ExecutionPolicy
      extended by org.jppf.node.policy.ExecutionPolicy.LogicalRule
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ExecutionPolicy.AndRule, ExecutionPolicy.OrRule, ExecutionPolicy.XorRule
Enclosing class:
ExecutionPolicy

public abstract static class ExecutionPolicy.LogicalRule
extends ExecutionPolicy

An execution policy that realizes a binary logical combination of the policies specified as operands.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jppf.node.policy.ExecutionPolicy
ExecutionPolicy.AndRule, ExecutionPolicy.LogicalRule, ExecutionPolicy.NotRule, ExecutionPolicy.OrRule, ExecutionPolicy.XorRule
 
Field Summary
protected  ExecutionPolicy[] rules
          First operand.
 
Fields inherited from class org.jppf.node.policy.ExecutionPolicy
computedToString
 
Constructor Summary
ExecutionPolicy.LogicalRule(ExecutionPolicy... rules)
          Initialize this binary logical operator with the specified operands.
 
Method Summary
 String toString()
          Print this object to a string.
 
Methods inherited from class org.jppf.node.policy.ExecutionPolicy
accepts, and, getProperty, indent, not, or, xor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

rules

protected ExecutionPolicy[] rules
First operand.

Constructor Detail

ExecutionPolicy.LogicalRule

public ExecutionPolicy.LogicalRule(ExecutionPolicy... rules)
Initialize this binary logical operator with the specified operands.

Parameters:
rules - the first operand.
Method Detail

toString

public String toString()
Print this object to a string.

Overrides:
toString in class Object
Returns:
an XML string representation of this object
See Also:
Object.toString()


Copyright © 2005-2010 JPPF Team.