Class 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.
  • Field Details

    • haveSeenChanges

      private boolean haveSeenChanges
    • currentDir

      protected String currentDir
    • fCheckedInFiles

      private List<ScmFile> fCheckedInFiles
  • Constructor Details

    • 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 Details

    • consumeLine

      public void consumeLine(String line)
      Process one line of output from the execution of the "scm checkin" command.
      Specified by:
      consumeLine in interface org.codehaus.plexus.util.cli.StreamConsumer
      Overrides:
      consumeLine in class AbstractRepositoryConsumer
      Parameters:
      line - The line of output from the external command that has been pumped to us.
      See Also:
      • StreamConsumer.consumeLine(java.lang.String)
    • getScmFile

      protected ScmFile getScmFile(String filename)
    • getFiles

      public List<ScmFile> getFiles()