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