Package org.jppf.node.policy
Class PolicyUtils
java.lang.Object
org.jppf.node.policy.PolicyUtils
Utility methods to resolve, parse and manipulate execution policies.
- Author:
- Laurent Cohen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringresolvePolicy(TypedProperties props, String propertyName) Create the execution policy form the defintiion.
-
Constructor Details
-
PolicyUtils
public PolicyUtils()
-
-
Method Details
-
resolvePolicy
Create the execution policy form the defintiion.- Parameters:
props- the datasource properties.propertyName- the identifier of the datasource in the configuration.- Returns:
- an
ExecutionPolicyinstance, ornullif none could be created.
-