public class PreselectedGHNTask extends PlanBuilderTask
PackageGroup
elements for which the client
has already defined a GHN to use.Constructor and Description |
---|
PreselectedGHNTask() |
Modifier and Type | Method and Description |
---|---|
PlanBuilderElem |
makeDecision(PlanBuilderElem input)
From the given input retrieves the
PackageGroup elements
having an assigned GHN and modes these nodes to the corresponding
PlanBuilderElem.getResponse() part. |
setID
public final PlanBuilderElem makeDecision(PlanBuilderElem input) throws PlanBuilderException
PackageGroup
elements
having an assigned GHN and modes these nodes to the corresponding
PlanBuilderElem.getResponse()
part.
The chosen nodes will be so removed from the initial
PlanBuilderElem.getRequest()
part so that they will no more
parsed in further stages of PlanBuilderWorkflow
chain.makeDecision
in class PlanBuilderTask
input
- PlanBuilderElem
the required data to make a decision plan.PlanBuilderElem
with the initial request and response
possibly modified in accordance to the decision making strategy.PlanBuilderException