Class BazaarLsConsumer
java.lang.Object
org.apache.maven.scm.util.AbstractConsumer
org.apache.maven.scm.provider.bazaar.command.BazaarConsumer
org.apache.maven.scm.provider.bazaar.command.tag.BazaarLsConsumer
- All Implemented Interfaces:
org.codehaus.plexus.util.cli.StreamConsumer
Parse output from "bzr ls".
-
Field Summary
FieldsModifier and TypeFieldDescriptionA list of the files found by ls.private File
The root directory of this bazaar repository. -
Constructor Summary
ConstructorsConstructorDescriptionBazaarLsConsumer
(ScmLogger logger, File repositoryRoot, ScmFileStatus wantedStatus) Create a new "bzr ls" consumer. -
Method Summary
Modifier and TypeMethodDescriptionvoid
doConsume
(ScmFileStatus status, String trimmedLine) Answer what files were listed by bzr ls.Methods inherited from class org.apache.maven.scm.provider.bazaar.command.BazaarConsumer
consumeLine, getStdErr
Methods inherited from class org.apache.maven.scm.util.AbstractConsumer
getLogger, parseDate, parseDate, setLogger
-
Field Details
-
repositoryRoot
The root directory of this bazaar repository. -
files
A list of the files found by ls.
-
-
Constructor Details
-
BazaarLsConsumer
BazaarLsConsumer(ScmLogger logger, File repositoryRoot, ScmFileStatus wantedStatus) Create a new "bzr ls" consumer.- Parameters:
repositoryRoot
- The root directory of this bazaar repository.wantedStatus
- The status we'll report for the files listed.
-
-
Method Details
-
doConsume
- Overrides:
doConsume
in classBazaarConsumer
-
getListedFiles
Answer what files were listed by bzr ls.- Returns:
- A list of files listed by bzr ls.
-