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, setRepositorygetLogger, parseDate, parseDate, setLoggerpublic DebugLoggerConsumer(ScmLogger logger)
public void consumeLine(String line)
AbstractRepositoryConsumerconsumeLine in interface org.codehaus.plexus.util.cli.StreamConsumerconsumeLine in class AbstractRepositoryConsumerline - The line of output from the external command that has been pumped to us.StreamConsumer.consumeLine(java.lang.String)Copyright © 2003–2022 The Apache Software Foundation. All rights reserved.