Package jadex.bdi.runtime
Interface IGoal
- All Superinterfaces:
IElement
,IFinishableElement<Void>
,IParameterElement
- All Known Implementing Classes:
RGoal
Interface for a bdi goal.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
static enum
-
Method Summary
Methods inherited from interface jadex.bdi.runtime.IElement
getCount, getModelElement
Methods inherited from interface jadex.bdi.runtime.IFinishableElement
addListener, getException, isFailed, isFinished, isSucceeded, removeListener
Methods inherited from interface jadex.bdi.runtime.IParameterElement
getParameter, getParameters, getParameterSet, getParameterSets, getType, hasParameter, hasParameterSet
-
Method Details
-
getId
String getId()Get the id. -
drop
jadex.future.IFuture<Void> drop()Drop the goal. -
getLifecycleState
IGoal.GoalLifecycleState getLifecycleState()Get the lifecycle state.- Returns:
- The current lifecycle state (e.g. new, active, dropped).
-
getProcessingState
IGoal.GoalProcessingState getProcessingState()Get the processingState.- Returns:
- The processingState.
-
isActive
boolean isActive()Test if the goal is in lifecyclestate 'active'.
-