org.apache.maven.scm.provider.jazz.command.add
Class JazzAddConsumer
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.add.JazzAddConsumer
- All Implemented Interfaces:
- StreamConsumer
public class JazzAddConsumer
- extends AbstractRepositoryConsumer
Consume the output of the scm command for the "add" operation.
- Author:
- Chris Graham
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fCurrentDir
protected String fCurrentDir
JazzAddConsumer
public JazzAddConsumer(ScmProviderRepository repository,
ScmLogger logger)
- Construct the JazzAddCommand consumer.
- Parameters:
repository
- The repository we are working with.logger
- The logger to use.
consumeLine
public void consumeLine(String line)
- 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)
getScmFile
protected ScmFile getScmFile(String filename)
getFiles
public List<ScmFile> getFiles()
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.