Class JazzCheckOutConsumer
- 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.checkout.JazzCheckOutConsumer
-
- All Implemented Interfaces:
org.codehaus.plexus.util.cli.StreamConsumer
public class JazzCheckOutConsumer extends AbstractRepositoryConsumer
Consume the output of the scm command for the "load" operation.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.regex.Pattern
DOWNLOAD_PATTERN
private java.util.List<ScmFile>
fCheckedOutFiles
protected java.lang.String
fCurrentDir
-
Fields inherited from class org.apache.maven.scm.provider.jazz.command.consumer.AbstractRepositoryConsumer
fed
-
-
Constructor Summary
Constructors Constructor Description JazzCheckOutConsumer(ScmProviderRepository repository, ScmLogger logger)
Construct the JazzCheckOutCommand consumer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
consumeLine(java.lang.String line)
Process one line of output from the execution of the "scm load" command.java.util.List<ScmFile>
getCheckedOutFiles()
-
Methods inherited from class org.apache.maven.scm.provider.jazz.command.consumer.AbstractRepositoryConsumer
getRepository, isFed, setFed, setRepository
-
Methods inherited from class org.apache.maven.scm.util.AbstractConsumer
getLogger, parseDate, parseDate, setLogger
-
-
-
-
Field Detail
-
DOWNLOAD_PATTERN
private static final java.util.regex.Pattern DOWNLOAD_PATTERN
-
fCurrentDir
protected java.lang.String fCurrentDir
-
fCheckedOutFiles
private java.util.List<ScmFile> fCheckedOutFiles
-
-
Constructor Detail
-
JazzCheckOutConsumer
public JazzCheckOutConsumer(ScmProviderRepository repository, ScmLogger logger)
Construct the JazzCheckOutCommand consumer.- Parameters:
repository
- The repository we are working with.logger
- The logger to use.
-
-
Method Detail
-
consumeLine
public void consumeLine(java.lang.String line)
Process one line of output from the execution of the "scm load" command.- Specified by:
consumeLine
in interfaceorg.codehaus.plexus.util.cli.StreamConsumer
- Overrides:
consumeLine
in classAbstractRepositoryConsumer
- Parameters:
line
- The line of output from the external command that has been pumped to us.- See Also:
StreamConsumer.consumeLine(java.lang.String)
-
getCheckedOutFiles
public java.util.List<ScmFile> getCheckedOutFiles()
-
-