Class JazzBlameConsumer
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.blame.JazzBlameConsumer
- All Implemented Interfaces:
org.codehaus.plexus.util.cli.StreamConsumer
Consume the output of the scm command for the "blame" operation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate SimpleDateFormatprivate static final Stringprivate static final PatternFields inherited from class org.apache.maven.scm.provider.jazz.command.consumer.AbstractRepositoryConsumer
fed -
Constructor Summary
ConstructorsConstructorDescriptionJazzBlameConsumer(ScmProviderRepository repository, ScmLogger logger) Construct the JazzBlameCommand consumer. -
Method Summary
Modifier and TypeMethodDescriptionvoidconsumeLine(String line) Process one line of output from the execution of the "scm annotate" command.getLines()Methods inherited from class org.apache.maven.scm.provider.jazz.command.consumer.AbstractRepositoryConsumer
getRepository, isFed, setFed, setRepositoryMethods inherited from class org.apache.maven.scm.util.AbstractConsumer
getLogger, parseDate, parseDate, setLogger
-
Field Details
-
JAZZ_TIMESTAMP_PATTERN
- See Also:
-
LINE_PATTERN
-
fLines
-
dateFormat
-
-
Constructor Details
-
JazzBlameConsumer
Construct the JazzBlameCommand consumer.- Parameters:
repository- The repository we are working with.logger- The logger to use.
-
-
Method Details
-
consumeLine
Process one line of output from the execution of the "scm annotate" command.- Specified by:
consumeLinein interfaceorg.codehaus.plexus.util.cli.StreamConsumer- Overrides:
consumeLinein classAbstractRepositoryConsumer- Parameters:
line- The line of output from the external command that has been pumped to us.- See Also:
-
getLines
-