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 an BehaviourInterpreter.
    • 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()
      • addProperty

        void addProperty​(String name,
                         Object property)
      • getProperty

        <T> T getProperty​(String name,
                          Class<T> type)