public class JazzHistoryConsumer extends AbstractRepositoryConsumer
It is passed in a List of ChangeSet entries. All we do is to parse the Jazz change set aliases, and save as the revision into the list.
NOTE: We do not set the command or date or anything other than the revision here, as we pick that information up from the "scm list changeset" command.
fed| Constructor and Description |
|---|
JazzHistoryConsumer(ScmProviderRepository repo,
ScmLogger logger,
List<ChangeSet> entries)
Constructor for our "scm history" consumer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
consumeLine(String line)
Process one line of output from the execution of the "scm xxxx" command.
|
getRepository, isFed, setFed, setRepositorygetLogger, parseDate, parseDate, setLoggerpublic JazzHistoryConsumer(ScmProviderRepository repo, ScmLogger logger, 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(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)Copyright © 2003–2021 The Apache Software Foundation. All rights reserved.