org.jppf.node.policy
Class PolicyBuilder
java.lang.Object
org.jppf.node.policy.PolicyBuilder
public class PolicyBuilder
- extends Object
Instances of this class build an execution policy graph, based on a policy
descriptor parsed from an XML document.
- Author:
- Laurent Cohen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolicyBuilder
public PolicyBuilder()
buildPolicy
public ExecutionPolicy buildPolicy(PolicyDescriptor desc)
throws Exception
- Build an execution policy from a parsed policy descriptor.
- Parameters:
desc - the descriptor parsed from an XML document.
- Returns:
- an
ExecutionPolicy instance.
- Throws:
Exception - if an error occurs while generating a policy object.
Copyright © 2005-2010 JPPF Team.