public class JazzHistoryConsumer extends AbstractRepositoryConsumer
| Modifier and Type | Field and Description |
|---|---|
private static java.util.regex.Pattern |
CHANGESET_PATTERN |
private java.util.List<ChangeSet> |
entries |
fed| Constructor and Description |
|---|
JazzHistoryConsumer(ScmProviderRepository repo,
ScmLogger logger,
java.util.List<ChangeSet> entries)
Constructor for our "scm history" consumer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
consumeLine(java.lang.String line)
Process one line of output from the execution of the "scm xxxx" command.
|
getRepository, isFed, setFed, setRepositorygetLogger, parseDate, parseDate, setLoggerprivate static final java.util.regex.Pattern CHANGESET_PATTERN
private java.util.List<ChangeSet> entries
public JazzHistoryConsumer(ScmProviderRepository repo, ScmLogger logger, java.util.List<ChangeSet> entries)
repo - The JazzScmProviderRepository being used.logger - The ScmLogger to use.entries - The List of ChangeSet entries that we will populate.public void consumeLine(java.lang.String line)
consumeLine in interface org.codehaus.plexus.util.cli.StreamConsumerconsumeLine in class AbstractRepositoryConsumerline - The line of output from the external command that has been pumped to us.StreamConsumer.consumeLine(java.lang.String)