Class AbstractFileCheckingConsumer
- java.lang.Object
-
- org.apache.maven.scm.util.AbstractConsumer
-
- org.apache.maven.scm.provider.git.gitexe.command.AbstractFileCheckingConsumer
-
- All Implemented Interfaces:
org.codehaus.plexus.util.cli.StreamConsumer
- Direct Known Subclasses:
GitListConsumer
public abstract class AbstractFileCheckingConsumer extends AbstractConsumer
- Author:
- Kenney Westerhof, Olivier Lamy
-
-
Field Summary
Fields Modifier and Type Field Description protected int
revision
protected File
workingDirectory
-
Fields inherited from class org.apache.maven.scm.util.AbstractConsumer
logger
-
-
Constructor Summary
Constructors Constructor Description AbstractFileCheckingConsumer(File workingDirectory)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
addFile(ScmFile file)
void
consumeLine(String line)
protected List<ScmFile>
getFiles()
int
getRevision()
protected int
parseInt(String revisionString)
protected abstract void
parseLine(String line)
-
Methods inherited from class org.apache.maven.scm.util.AbstractConsumer
parseDate, parseDate
-
-
-
-
Field Detail
-
workingDirectory
protected File workingDirectory
-
revision
protected int revision
-
-
Constructor Detail
-
AbstractFileCheckingConsumer
public AbstractFileCheckingConsumer(File workingDirectory)
-
-
Method Detail
-
consumeLine
public final void consumeLine(String line)
-
getRevision
public final int getRevision()
-
-