org.jppf.node.policy
Class PolicyRuleTest
java.lang.Object
org.jppf.node.policy.ExecutionPolicy
org.jppf.node.policy.PolicyRuleTest
- All Implemented Interfaces:
- Serializable
public class PolicyRuleTest
- extends ExecutionPolicy
Simple test of an execution policy.
- Author:
- Laurent Cohen
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolicyRuleTest
public PolicyRuleTest()
accepts
public boolean accepts(JPPFSystemInformation info)
- Determines whether this policy accepts the specified node.
- Specified by:
accepts in class ExecutionPolicy
- Parameters:
info - system information for the node on which the tasks will run if accepted.
- Returns:
- true if the node is accepted, false otherwise.
- See Also:
ExecutionPolicy.accepts(org.jppf.management.JPPFSystemInformation)
Copyright © 2005-2010 JPPF Team.