public class ShellDefaultMatcher extends Object implements ShellMatcher
Constructor and Description |
---|
ShellDefaultMatcher() |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(String line,
String pattern)
Match a command output line against a defined pattern.
|
public boolean matches(String line, String pattern)
ShellMatcher
matches
in interface ShellMatcher
line
- the line of output to searchpattern
- the pattern requiredCopyright © 2016. All rights reserved.