|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.vremanagement.resourcebroker.impl.planbuilders.PlanBuilderElem
public class PlanBuilderElem
A class containing all the information needed to a
PlanBuilderTask
to receive the request to make a new
plan and for representing the corresponding decision.
Encapsulates a org.gcube.vremanagement.resourcebroker.utils.serialization.types.PlanRequest
, a PlanResponse
and
a list of gHN ids (strings).
At each stage of decision planning, implemented through
PlanBuilderTask
elements, the elements can be removed
from the request (once they are supposed to have reached a satisfying
condition to deploy) and the response is incrementally built.
The list of selected gHNs is used to avoid multiple usage of the same
gHN when overloaded.
PlanBuilderTask
Constructor Summary | |
---|---|
PlanBuilderElem(PlanRequest request)
Creates a new PlanBuilderElem . |
|
PlanBuilderElem(PlanRequest request,
PlanResponse response)
Creates a new PlanBuilderElem . |
Method Summary | |
---|---|
PlanBuilderIdentifier |
getID()
|
PlanRequest |
getRequest()
|
PlanResponse |
getResponse()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlanBuilderElem(PlanRequest request)
PlanBuilderElem
.
request
- the org.gcube.vremanagement.resourcebroker.utils.serialization.types.PlanRequest
to handle.public PlanBuilderElem(PlanRequest request, PlanResponse response)
PlanBuilderElem
.
request
- the org.gcube.vremanagement.resourcebroker.utils.serialization.types.PlanRequest
to handle.response
- if null a new one will be assigned.Method Detail |
---|
public final PlanBuilderIdentifier getID()
public final PlanRequest getRequest()
public final PlanResponse getResponse()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |