Class JazzCheckInConsumer
- 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.checkin.JazzCheckInConsumer
-
- All Implemented Interfaces:
org.codehaus.plexus.util.cli.StreamConsumer
public class JazzCheckInConsumer extends AbstractRepositoryConsumer
Consume the output of the scm command for the "checkin" operation.- Author:
- Chris Graham
-
-
Field Summary
Fields Modifier and Type Field Description protected String
currentDir
-
Fields inherited from class org.apache.maven.scm.provider.jazz.command.consumer.AbstractRepositoryConsumer
fed
-
-
Constructor Summary
Constructors Constructor Description JazzCheckInConsumer(ScmProviderRepository repository, ScmLogger logger)
Construct the JazzCheckInCommand consumer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
consumeLine(String line)
Process one line of output from the execution of the "scm checkin" command.List<ScmFile>
getFiles()
protected ScmFile
getScmFile(String filename)
-
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
-
currentDir
protected String currentDir
-
-
Constructor Detail
-
JazzCheckInConsumer
public JazzCheckInConsumer(ScmProviderRepository repository, ScmLogger logger)
Construct the JazzCheckInCommand consumer.- Parameters:
repository
- The repository we are working with.logger
- The logger to use.
-
-
Method Detail
-
consumeLine
public void consumeLine(String line)
Process one line of output from the execution of the "scm checkin" 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)
-
-