Class DefaultExpectMatcher

    • Constructor Detail

      • DefaultExpectMatcher

        public DefaultExpectMatcher()
    • Method Detail

      • matches

        public boolean matches​(String line,
                               String pattern)
        Description copied from interface: ExpectMatcher
        Match a command output line against a defined pattern.
        Specified by:
        matches in interface ExpectMatcher
        Parameters:
        line - the line of output to search
        pattern - the pattern required
        Returns:
        boolean