Class DebugLoggerConsumer
- java.lang.Object
-
- org.apache.maven.scm.util.AbstractConsumer
-
- org.apache.maven.scm.provider.jazz.command.consumer.AbstractRepositoryConsumer
-
- org.apache.maven.scm.provider.jazz.command.consumer.DebugLoggerConsumer
-
- All Implemented Interfaces:
org.codehaus.plexus.util.cli.StreamConsumer
public class DebugLoggerConsumer extends AbstractRepositoryConsumer
This class exists only to consume output that is normally not needed, though it may be of interest when in debug mode. 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.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringBuilder
content
private java.lang.String
ls
-
Fields inherited from class org.apache.maven.scm.provider.jazz.command.consumer.AbstractRepositoryConsumer
fed
-
-
Constructor Summary
Constructors Constructor Description DebugLoggerConsumer(ScmLogger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
consumeLine(java.lang.String line)
Process one line of output from the execution of the "scm xxxx" command.java.lang.String
getOutput()
-
Methods inherited from class org.apache.maven.scm.provider.jazz.command.consumer.AbstractRepositoryConsumer
getRepository, isFed, setFed, setRepository
-
Methods inherited from class org.apache.maven.scm.util.AbstractConsumer
getLogger, parseDate, parseDate, setLogger
-
-
-
-
Constructor Detail
-
DebugLoggerConsumer
public DebugLoggerConsumer(ScmLogger logger)
-
-
Method Detail
-
consumeLine
public void consumeLine(java.lang.String line)
Description copied from class:AbstractRepositoryConsumer
Process one line of output from the execution of the "scm xxxx" command.- Specified by:
consumeLine
in interfaceorg.codehaus.plexus.util.cli.StreamConsumer
- Overrides:
consumeLine
in classAbstractRepositoryConsumer
- Parameters:
line
- The line of output from the external command that has been pumped to us.- See Also:
StreamConsumer.consumeLine(java.lang.String)
-
getOutput
public java.lang.String getOutput()
-
-