public abstract class VCSStreamMonitor
extends java.lang.Object
Interface to a version control client runner stream monitor.
Modifier and Type | Field and Description |
---|---|
static int |
EVENT_LINE_STREAMED |
static int |
EVENT_PATTERN_MATCH |
Constructor and Description |
---|
VCSStreamMonitor() |
VCSStreamMonitor(java.lang.String pattern) |
Modifier and Type | Method and Description |
---|---|
void |
dispatchEvent(int event,
java.lang.String line,
RunProcess process)
This method is public as a side-effect of implementation.
|
java.lang.String |
getPattern() |
protected void |
patternMatched(RunProcess process) |
protected void |
streamLine(java.lang.String line,
RunProcess process) |
public static final int EVENT_PATTERN_MATCH
public static final int EVENT_LINE_STREAMED
public VCSStreamMonitor()
public VCSStreamMonitor(java.lang.String pattern)
public java.lang.String getPattern()
public void dispatchEvent(int event, java.lang.String line, RunProcess process) throws java.lang.Exception
java.lang.Exception
protected void patternMatched(RunProcess process) throws java.lang.Exception
java.lang.Exception
protected void streamLine(java.lang.String line, RunProcess process) throws java.lang.Exception
java.lang.Exception