Class Tee

    • Constructor Detail

      • Tee

        public Tee()
        Default constructor.
      • Tee

        public Tee​(String name)
        Initializes the actor with the specified name.
        Parameters:
        name - the name to use
    • Method Detail

      • checkTeeActor

        protected String checkTeeActor​(int index,
                                       Actor actor)
        Checks the tee actor before it is set. Returns an error message if the actor is not acceptable, null otherwise.
        Specified by:
        checkTeeActor in class AbstractTee
        Parameters:
        index - the index the actor gets set
        actor - the actor to check
        Returns:
        null if accepted, otherwise error message
      • checkTeeActors

        protected String checkTeeActors​(Actor[] actors)
        Checks the tee actor before it is set via the setTeeActor method. Returns an error message if the actor is not acceptable, null otherwise.
        Specified by:
        checkTeeActors in class AbstractTee
        Parameters:
        actors - the actors to check
        Returns:
        null if accepted, otherwise error message
      • setUpTeeActors

        protected String setUpTeeActors()
        Gets called in the setUp() method. Returns null if tee-actor is fine, otherwise error message.
        Specified by:
        setUpTeeActors in class AbstractTee
        Returns:
        null if everything OK, otherwise error message