org.apache.maven.scm.provider.jazz.command.consumer
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:
- 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.
- Author:
- Chris Graham
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DebugLoggerConsumer
public DebugLoggerConsumer(ScmLogger logger)
consumeLine
public void consumeLine(String line)
- Description copied from class:
AbstractRepositoryConsumer
- Process one line of output from the execution of the "scm xxxx" command.
- Specified by:
consumeLine
in interface StreamConsumer
- Overrides:
consumeLine
in class AbstractRepositoryConsumer
- 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 String getOutput()
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.