public class DebugLoggerConsumer extends AbstractRepositoryConsumer
For example, "scm lock acquire" produces: "Locks successfully acquired." and "scm lock release" produces: "Locks successfully released."
So, basically nothing of real interest to parse and pass back.
fed
Constructor and Description |
---|
DebugLoggerConsumer(ScmLogger logger) |
Modifier and Type | Method and Description |
---|---|
void |
consumeLine(String line)
Process one line of output from the execution of the "scm xxxx" command.
|
String |
getOutput() |
getRepository, isFed, setFed, setRepository
getLogger, parseDate, parseDate, setLogger
public DebugLoggerConsumer(ScmLogger logger)
public void consumeLine(String line)
AbstractRepositoryConsumer
consumeLine
in interface org.codehaus.plexus.util.cli.StreamConsumer
consumeLine
in class AbstractRepositoryConsumer
line
- The line of output from the external command that has been pumped to us.StreamConsumer.consumeLine(java.lang.String)
Copyright © 2003–2021 The Apache Software Foundation. All rights reserved.