Interface IEntityState<A extends org.palladiosimulator.pcm.core.entity.Entity>
-
- All Known Implementing Classes:
EntityState,StateStackFrame
public interface IEntityState<A extends org.palladiosimulator.pcm.core.entity.Entity>This interface specifies which state information can be set and returned to describe the progress of anBehaviourInterpreter.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddProperty(String name, Object property)AgetCurrentPosition()Returns the current position of the traversal.ProceduregetOnFinishCallback()<T> TgetProperty(String name, Class<T> type)voidsetCurrentPosition(A position)Sets the current position of the traversal.voidsetOnFinishCallback(Procedure onFinishCallback)
-
-
-
Method Detail
-
getCurrentPosition
A getCurrentPosition()
Returns the current position of the traversal.- Returns:
- the action that is being traversed currently
-
setCurrentPosition
void setCurrentPosition(A position)
Sets the current position of the traversal.- Parameters:
position- the action that is being traversed currently
-
setOnFinishCallback
void setOnFinishCallback(Procedure onFinishCallback)
-
getOnFinishCallback
Procedure getOnFinishCallback()
-
-