org.apache.maven.scm.provider.jazz.command.checkin
Class JazzCheckInConsumer

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.checkin.JazzCheckInConsumer
All Implemented Interfaces:
StreamConsumer

public class JazzCheckInConsumer
extends AbstractRepositoryConsumer

Consume the output of the scm command for the "checkin" operation.

Author:
Chris Graham

Field Summary
protected  String currentDir
           
 
Fields inherited from class org.apache.maven.scm.provider.jazz.command.consumer.AbstractRepositoryConsumer
fed
 
Constructor Summary
JazzCheckInConsumer(ScmProviderRepository repository, ScmLogger logger)
          Construct the JazzCheckInCommand consumer.
 
Method Summary
 void consumeLine(String line)
          Process one line of output from the execution of the "scm checkin" command.
 List<ScmFile> getFiles()
           
protected  ScmFile getScmFile(String filename)
           
 
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
 

Field Detail

currentDir

protected String currentDir
Constructor Detail

JazzCheckInConsumer

public JazzCheckInConsumer(ScmProviderRepository repository,
                           ScmLogger logger)
Construct the JazzCheckInCommand consumer.

Parameters:
repository - The repository we are working with.
logger - The logger to use.
Method Detail

consumeLine

public void consumeLine(String line)
Process one line of output from the execution of the "scm checkin" 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)

getScmFile

protected ScmFile getScmFile(String filename)

getFiles

public List<ScmFile> getFiles()


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.