public class JazzListChangesetConsumer extends AbstractRepositoryConsumer
entries
list.fed
Constructor and Description |
---|
JazzListChangesetConsumer(ScmProviderRepository repo,
ScmLogger logger,
List<ChangeSet> entries,
String userDateFormat)
Constructor for our "scm list changeset" consumer.
|
Modifier and Type | Method and Description |
---|---|
void |
consumeLine(String line)
Process one line of output from the execution of the "scm list changeset" command.
|
protected String |
stripDelimiters(String text)
String the leading/trailing ", < and > from the text.
|
getRepository, isFed, setFed, setRepository
getLogger, parseDate, parseDate, setLogger
public JazzListChangesetConsumer(ScmProviderRepository repo, ScmLogger logger, List<ChangeSet> entries, String userDateFormat)
repo
- The JazzScmProviderRepository being used.logger
- The ScmLogger to use.entries
- The List of ChangeSet entries that we will populate.public void consumeLine(String line)
consumeLine
in interface 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)
protected String stripDelimiters(String text)
text
- The text to process.Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.