Interface SyntaxIdentifier

    • Method Detail

      • setDestination

        void setDestination​(java.lang.String dest)
        Set the configured destination.

        This is the value that will be stored against the metadata key specified by SyntaxRoutingService.

        Parameters:
        dest - the destination.
      • getDestination

        java.lang.String getDestination()
        Get the configured destination.
        Returns:
        the destination.
      • isThisSyntax

        boolean isThisSyntax​(java.lang.String message)
                      throws ServiceException
        Determine if this SyntaxIdentifer considers the message to match all the configured patterns.
        Parameters:
        message - the message to identify against.
        Returns:
        true if it matches.
        Throws:
        ServiceException - if there was an error with the pattern.