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