org.apache.maven.scm.provider.jazz.command.consumer
Class DebugLoggerConsumer

java.lang.Object
  extended by org.apache.maven.scm.util.AbstractConsumer
      extended by org.apache.maven.scm.provider.jazz.command.consumer.AbstractRepositoryConsumer
          extended by 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

Field Summary
 
Fields inherited from class org.apache.maven.scm.provider.jazz.command.consumer.AbstractRepositoryConsumer
fed
 
Constructor Summary
DebugLoggerConsumer(ScmLogger logger)
           
 
Method Summary
 void consumeLine(String line)
          Process one line of output from the execution of the "scm xxxx" command.
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebugLoggerConsumer

public DebugLoggerConsumer(ScmLogger logger)
Method Detail

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.