public class SuggestedGHNTask extends PlanBuilderTask
| Constructor and Description |
|---|
SuggestedGHNTask() |
| Modifier and Type | Method and Description |
|---|---|
PlanBuilderElem |
makeDecision(PlanBuilderElem input)
By starting from a
PlanBuilderElem.getRequest() part, it tries
to assign to the packages having no pre-assigned GHNs, one of the
GHNs globally defined at org.gcube.vremanagement.resourcebroker.utils.serialization.types.PlanRequest level. |
setIDpublic final PlanBuilderElem makeDecision(PlanBuilderElem input) throws PlanBuilderException
PlanBuilderElem.getRequest() part, it tries
to assign to the packages having no pre-assigned GHNs, one of the
GHNs globally defined at org.gcube.vremanagement.resourcebroker.utils.serialization.types.PlanRequest level.
For each of them takes the ones that have less running instances.makeDecision in class PlanBuilderTaskinput - 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