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 void
addProperty(String name, Object property)
A
getCurrentPosition()
Returns the current position of the traversal.Procedure
getOnFinishCallback()
<T> T
getProperty(String name, Class<T> type)
void
setCurrentPosition(A position)
Sets the current position of the traversal.void
setOnFinishCallback(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()
-
-