Interface ScopeHandler

    • Method Detail

      • setEnforceCallableNameCheck

        void setEnforceCallableNameCheck​(boolean value)
        Sets whether to enforce the callable name check.
        Parameters:
        value - true if to enforce check
      • getEnforceCallableNameCheck

        boolean getEnforceCallableNameCheck()
        Returns whether the check of callable names is enforced.
        Returns:
        true if check enforced
      • isCallableNameUsed

        boolean isCallableNameUsed​(ActorHandler handler,
                                   Actor actor)
        Checks whether a callable name is already in use.
        Parameters:
        handler - the handler for the actor
        actor - the actor name to check
        See Also:
        getEnforceCallableNameCheck()
      • addCallableName

        String addCallableName​(ActorHandler handler,
                               Actor actor)
        Adds the callable name to the list of used ones.
        Parameters:
        handler - the handler for the actor
        actor - the actor name to add
        Returns:
        null if successfully added, otherwise error message
        See Also:
        getEnforceCallableNameCheck()