public interface OutputProcessor
Modifier and Type | Method and Description |
---|---|
String[] |
getRegisteredOutputSequences()
specify the segments that this processor is interested in.
|
void |
processLine(String line,
OutputVisitor visitor)
for each line of output, the registered processor will get a chance to
add highlighting etc.
|
void |
sequenceEnd(String sequenceId,
OutputVisitor visitor)
callback when one of the registered sequences ends
|
void |
sequenceFail(String sequenceId,
OutputVisitor visitor)
callback when one of the registered sequences ends
|
void |
sequenceStart(String sequenceId,
OutputVisitor visitor)
callback when one of the registered sequences starts
|
String[] getRegisteredOutputSequences()
<type>#<goal>
Eg mojo-execute#compile:compilevoid processLine(String line, OutputVisitor visitor)
void sequenceStart(String sequenceId, OutputVisitor visitor)
void sequenceEnd(String sequenceId, OutputVisitor visitor)
void sequenceFail(String sequenceId, OutputVisitor visitor)