Class PolicyUtils

java.lang.Object
org.jppf.node.policy.PolicyUtils

public class PolicyUtils extends Object
Utility methods to resolve, parse and manipulate execution policies.
Author:
Laurent Cohen
  • Constructor Details

    • PolicyUtils

      public PolicyUtils()
  • Method Details

    • resolvePolicy

      public static String resolvePolicy(TypedProperties props, String propertyName)
      Create the execution policy form the defintiion.
      Parameters:
      props - the datasource properties.
      propertyName - the identifier of the datasource in the configuration.
      Returns:
      an ExecutionPolicy instance, or null if none could be created.