Package jadex.bdi.runtime.impl
Class GoalInfo
java.lang.Object
jadex.bdi.runtime.impl.AbstractBDIInfo
jadex.bdi.runtime.impl.GoalInfo
Transferable information about a goal.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
The goal kind (e.g.protected String
The life cycle state.protected List
<ParameterInfo> The parameter (array of strings parameters).protected String
The processing state.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 GoalInfo
createGoalInfo
(RGoal goal) Create an info object for a goal.getKind()
Create a new goal info.Return the life cycle state.Return the processing state.Set the kind.setLifecycleState
(String lifecyclestate) Set the life cycle state.setParameterInfos
(ParameterInfo[] paraminfos) Set the parameterssetProcessingState
(String processingstate) Set the processing 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
-
kind
The goal kind (e.g. achieve). -
lifecyclestate
The life cycle state. -
processingstate
The processing state. -
paraminfos
The parameter (array of strings parameters).
-
-
Constructor Details
-
GoalInfo
public GoalInfo()Create a new goal info.
-
-
Method Details
-
getKind
Create a new goal info. / public GoalInfo(Object id, String kind, String type, String lifecyclestate, String processingstate) { super(id, type); this.kind = kind; this.lifecyclestate = lifecyclestate; this.processingstate = processingstate; } //--------- methods --------- /** Return the kind. -
setKind
Set the kind. -
getLifecycleState
Return the life cycle state. -
setLifecycleState
Set the life cycle state. -
getProcessingState
Return the processing state. -
setProcessingState
Set the processing state. -
getParameterInfos
- Returns:
- the paraminfos
-
setParameterInfos
Set the parameters- Parameters:
paraminfos
- the paraminfos to set
-
addParameterInfo
Add a parameter. -
toString
Get the string representation. -
createGoalInfo
Create an info object for a goal.
-