Package jadex.bdiv3.runtime
Interface IGoal
-
- All Superinterfaces:
IElement,IFinishableElement<java.lang.Void>,IParameterElement
public interface IGoal extends IParameterElement, IFinishableElement<java.lang.Void>
Interface for a bdi goal.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIGoal.GoalLifecycleStatestatic classIGoal.GoalProcessingState
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IFuture<java.lang.Void>drop()Drop the goal.java.lang.StringgetId()Get the id.IGoal.GoalLifecycleStategetLifecycleState()Get the lifecycle state.IGoal.GoalProcessingStategetProcessingState()Get the processingState.booleanisActive()Test if the goal is in lifecyclestate 'active'.-
Methods inherited from interface jadex.bdiv3x.runtime.IElement
getModelElement
-
Methods inherited from interface jadex.bdiv3x.runtime.IFinishableElement
addListener, getException, isFailed, isFinished, isSucceeded, removeListener
-
Methods inherited from interface jadex.bdiv3x.runtime.IParameterElement
getParameter, getParameters, getParameterSet, getParameterSets, getType, hasParameter, hasParameterSet
-
-
-
-
Method Detail
-
getId
java.lang.String getId()
Get the id.
-
drop
IFuture<java.lang.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'.
-
-