Class PlanLocator

java.lang.Object
step.artefacts.handlers.PlanLocator

public class PlanLocator extends Object
  • Constructor Details

  • Method Details

    • selectPlan

      public Plan selectPlan(CallPlan artefact, step.core.objectenricher.ObjectPredicate objectPredicate, Map<String,Object> bindings)
      Resolve a CallPlan artefact to the underlying Plan. Returns null if plan is not resolved by ID
      Parameters:
      artefact - the CallPlan artefact
      objectPredicate - the predicate to be used to filter the results out
      bindings - the bindings to be used for the evaluation of dynamic expressions (can be null)
      Returns:
      the Plan referenced by the provided artefact
    • selectPlanNotNull

      public Plan selectPlanNotNull(CallPlan artefact, step.core.objectenricher.ObjectPredicate objectPredicate, Map<String,Object> bindings) throws PlanLocator.PlanLocatorException
      Resolve a CallPlan artefact to the underlying Plan. Throws an exception if plan is not resolved for any reason
      Parameters:
      artefact - the CallPlan artefact
      objectPredicate - the predicate to be used to filter the results out
      bindings - the bindings to be used for the evaluation of dynamic expressions (can be null)
      Returns:
      the Plan referenced by the provided artefact
      Throws:
      PlanLocator.PlanLocatorException