Class IfStorageValue.IfStorageValueDirector

    • Field Detail

      • m_StoredValue

        protected Object m_StoredValue
        the stored value.
    • Constructor Detail

      • IfStorageValueDirector

        public IfStorageValueDirector()
    • Method Detail

      • setIfThenElseActor

        protected void setIfThenElseActor​(AbstractDirectedControlActor value)
        Calls the super implementation of setControlActor.
        Parameters:
        value - the control actor to set
      • setControlActor

        public void setControlActor​(AbstractDirectedControlActor value)
        Sets the group to execute.
        Parameters:
        value - the group
      • doThen

        protected boolean doThen()
        Determines whether to execute the 'then' branch.
        Returns:
        true if the 'then' branch should get executed
      • execute

        public String execute()
        Executes the group of actors.
        Specified by:
        execute in class AbstractDirector
        Returns:
        null if everything went smooth