Package jadex.bdi.runtime.impl
Class PlanInfo
java.lang.Object
jadex.bdi.runtime.impl.AbstractBDIInfo
jadex.bdi.runtime.impl.PlanInfo
Transferable information about a plan.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<ParameterInfo>The parameter (array of strings parameters).protected StringThe plan state (body, passed, failed, aborted).Fields inherited from class jadex.bdi.runtime.impl.AbstractBDIInfo
id, parentid, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddParameterInfo(ParameterInfo paraminfo) Add a parameter.static PlanInfocreatePlanInfo(RPlan plan) Create an info object for a plan.getState()Return the state.setParameterInfos(ParameterInfo[] paraminfos) Set the parametersSet the state.toString()Get the string representation.Methods inherited from class jadex.bdi.runtime.impl.AbstractBDIInfo
equals, getId, getParentId, getType, hashCode, setId, setParentId, setType
-
Field Details
-
state
The plan state (body, passed, failed, aborted). -
paraminfos
The parameter (array of strings parameters).
-
-
Constructor Details
-
PlanInfo
public PlanInfo()Create a new info.
-
-
Method Details
-
getState
Return the state. -
setState
Set the state. -
getParameterInfos
- Returns:
- the paraminfos
-
setParameterInfos
Set the parameters- Parameters:
paraminfos- the paraminfos to set
-
addParameterInfo
Add a parameter. -
toString
Get the string representation. -
createPlanInfo
Create an info object for a plan.
-