org.gcube.vremanagement.resourcebroker.impl.planbuilders
Class PlanBuilderWorkflow
java.lang.Object
org.gcube.vremanagement.resourcebroker.impl.planbuilders.PlanBuilderWorkflow
public class PlanBuilderWorkflow
- extends java.lang.Object
This is the core of decision planning.
The plan is built up to several steps over the initial
input (the PlanRequest) and the actual state (the GHNs chosen).
- Author:
- Daniele Strollo (ISTI-CNR)
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlanBuilderWorkflow
public PlanBuilderWorkflow(PlanBuilderElem input)
- Used to build a chain of
PlanBuilderTask
elements.
Given an initial representation of the plan as PlanBuilderElem
,
it passes to the internal tasks the given input.
- Parameters:
input
- the initial PlanBuilderElem
.
addPlanBuilderTask
public final void addPlanBuilderTask(PlanBuilderTask task)
run
public final PlanBuilderElem run()
throws PlanBuilderException
- Throws:
PlanBuilderException
getPartialResult
public final PlanBuilderElem getPartialResult()
- At each step it is possible to retrieve the partial result
built during a
PlanBuilderTask
stage.
- Returns:
- the partial result of a decision making stage of a
PlanBuilderTask
.
getInitialRequest
public final PlanRequest getInitialRequest()