org.jppf.node.policy
Class ExecutionPolicy.NotRule
java.lang.Object
org.jppf.node.policy.ExecutionPolicy
org.jppf.node.policy.ExecutionPolicy.NotRule
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- ExecutionPolicy
public static class ExecutionPolicy.NotRule
- extends ExecutionPolicy
An execution policy that realizes the negation of a policy specified as operand.
- See Also:
- Serialized Form
ExecutionPolicy.NotRule
public ExecutionPolicy.NotRule(ExecutionPolicy rule)
- Initialize this binary logical operator with the specified operands.
- Parameters:
rule - the operand.
accepts
public boolean accepts(JPPFSystemInformation info)
- Determine if a node is acceptable for this policy.
- Specified by:
accepts in class ExecutionPolicy
- Parameters:
info - system information for the node on which the tasks will run if accepted.
- Returns:
- true if and only if the 2 operands' accepts() method return true.
- See Also:
ExecutionPolicy.accepts(org.jppf.management.JPPFSystemInformation)
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.