public class JazzListConsumer extends AbstractRepositoryConsumer
Modifier and Type | Field and Description |
---|---|
private java.util.List<ScmFile> |
files |
fed
Constructor and Description |
---|
JazzListConsumer(ScmProviderRepository repository,
ScmLogger logger)
Construct the JazzListCommand consumer.
|
Modifier and Type | Method and Description |
---|---|
void |
consumeLine(java.lang.String line)
Process one line of output from the execution of the "scm list" command.
|
java.util.List<ScmFile> |
getFiles() |
getRepository, isFed, setFed, setRepository
getLogger, parseDate, parseDate, setLogger
private java.util.List<ScmFile> files
public JazzListConsumer(ScmProviderRepository repository, ScmLogger logger)
repository
- The repository we are working with.logger
- The logger to use.public void consumeLine(java.lang.String line)
consumeLine
in interface org.codehaus.plexus.util.cli.StreamConsumer
consumeLine
in class AbstractRepositoryConsumer
line
- The line of output from the external command that has been pumped to us.StreamConsumer.consumeLine(java.lang.String)
public java.util.List<ScmFile> getFiles()