Class GitLatestRevisionCommandConsumer
java.lang.Object
org.apache.maven.scm.util.AbstractConsumer
org.apache.maven.scm.provider.git.gitexe.command.update.GitLatestRevisionCommandConsumer
- All Implemented Interfaces:
org.codehaus.plexus.util.cli.StreamConsumer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final PatternThe pattern used to match git log latest revision lines.private StringFields inherited from class AbstractConsumer
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconsumeLine(String line) private voidProcess the current input line for the latest revision.Methods inherited from class AbstractConsumer
parseDate, parseDate
-
Field Details
-
LATESTREV_PATTERN
The pattern used to match git log latest revision lines. -
latestRevision
-
-
Constructor Details
-
GitLatestRevisionCommandConsumer
public GitLatestRevisionCommandConsumer()
-
-
Method Details
-
consumeLine
-
getLatestRevision
-
processGetLatestRevision
Process the current input line for the latest revision.- Parameters:
line- a line of text from the git log output
-