Class AbstractConditionalActor

    • Field Detail

      • m_Condition

        protected TestCondition m_Condition
        Deprecated.
        the condition to check in the setUp() method of the actor.
      • m_BaseActor

        protected Actor m_BaseActor
        Deprecated.
        the base actor to run if condition is met.
      • m_CheckAtExecutionTime

        protected boolean m_CheckAtExecutionTime
        Deprecated.
        whether to test condition during setup or whenever executed.
      • m_ExecuteOnFail

        protected boolean m_ExecuteOnFail
        Deprecated.
        whether to execute the actor if the condition fails.
      • m_BaseActorInitialized

        protected boolean m_BaseActorInitialized
        Deprecated.
        whether the base actor has been setup.
    • Constructor Detail

      • AbstractConditionalActor

        public AbstractConditionalActor()
        Deprecated.
    • Method Detail

      • reset

        protected void reset()
        Deprecated.
        Initializes the members.
        Overrides:
        reset in class AbstractActor
      • conditionTipText

        public String conditionTipText()
        Deprecated.
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setCheckAtExecutionTime

        public void setCheckAtExecutionTime​(boolean value)
        Deprecated.
        Sets whether to check the condition at execution time or during setup.
        Parameters:
        value - true if to check at execution time
      • getCheckAtExecutionTime

        public boolean getCheckAtExecutionTime()
        Deprecated.
        Returns whether to check the condition at execution time or during setup.
        Returns:
        true if the check happens at execution time
      • checkAtExecutionTimeTipText

        public String checkAtExecutionTimeTipText()
        Deprecated.
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setExecuteOnFail

        public void setExecuteOnFail​(boolean value)
        Deprecated.
        Sets whether to execute the actor when the condition fails instead of succeeds.
        Parameters:
        value - if true then the actor gets executed when the condition fails
      • getExecuteOnFail

        public boolean getExecuteOnFail()
        Deprecated.
        Returns whether to execute the actor when the condition fails instead of succeeds.
        Returns:
        true if the check happens at execution time
      • executeOnFailTipText

        public String executeOnFailTipText()
        Deprecated.
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • getDefaultActor

        protected abstract Actor getDefaultActor()
        Deprecated.
        Returns the default actor to use.
        Returns:
        the default actor
      • setActor

        public void setActor​(Actor value)
        Deprecated.
        Sets the base actor.
        Parameters:
        value - the actor
      • getActor

        public Actor getActor()
        Deprecated.
        Returns the base actor.
        Returns:
        the actor
      • actorTipText

        public abstract String actorTipText()
        Deprecated.
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • check

        public String check()
        Deprecated.
        Performs checks on the "sub-actors".
        Specified by:
        check in interface ActorHandler
        Returns:
        null if everything is fine, otherwise the error
      • updateParent

        protected void updateParent()
        Deprecated.
        Updates the parent of all actors in this group.
      • size

        public int size()
        Deprecated.
        Returns the size of the group.
        Specified by:
        size in interface ActorHandler
        Returns:
        always 1
      • get

        public Actor get​(int index)
        Deprecated.
        Returns the actor at the given position.
        Specified by:
        get in interface ActorHandler
        Parameters:
        index - the position
        Returns:
        the actor
      • set

        public String set​(int index,
                          Actor actor)
        Deprecated.
        Sets the actor at the given position.
        Specified by:
        set in interface ActorHandler
        Parameters:
        index - the position
        actor - the actor to set at this position
        Returns:
        null if everything is fine, otherwise the error
      • indexOf

        public int indexOf​(String actor)
        Deprecated.
        Returns the index of the actor.
        Specified by:
        indexOf in interface ActorHandler
        Parameters:
        actor - the name of the actor to look for
        Returns:
        the index of -1 if not found
      • firstActive

        public Actor firstActive()
        Deprecated.
        Returns the first non-skipped actor.
        Specified by:
        firstActive in interface ActorHandler
        Returns:
        the first 'active' actor, null if none available
      • lastActive

        public Actor lastActive()
        Deprecated.
        Returns the last non-skipped actor.
        Specified by:
        lastActive in interface ActorHandler
        Returns:
        the last 'active' actor, null if none available
      • canInspectOptions

        public boolean canInspectOptions​(Class cls)
        Deprecated.
        Checks whether the class' options can be inspected. By default, arrays of actors (i.e., the control actor's sub-actors) won't be inspected, as they do it themselves.
        Specified by:
        canInspectOptions in interface VariablesInspectionHandler
        Overrides:
        canInspectOptions in class AbstractActor
        Parameters:
        cls - the class to check
        Returns:
        true if it can be inspected, false otherwise
      • forceVariables

        protected void forceVariables​(Variables value)
        Deprecated.
        Updates the Variables instance in use.

        Use with caution!
        Overrides:
        forceVariables in class AbstractActor
        Parameters:
        value - the instance to use
      • preExecute

        protected String preExecute()
        Deprecated.
        Pre-execute hook.
        Overrides:
        preExecute in class AbstractActor
        Returns:
        null if everything is fine, otherwise error message
      • doExecute

        protected String doExecute()
        Deprecated.
        Executes the flow item.
        Specified by:
        doExecute in class AbstractActor
        Returns:
        null if everything is fine, otherwise error message