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

    • DOWNLOAD_PATTERN

      private static final Pattern DOWNLOAD_PATTERN
    • fCurrentDir

      protected String fCurrentDir
    • fCheckedOutFiles

      private List<ScmFile> fCheckedOutFiles
  • Constructor Details

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

    • consumeLine

      public void consumeLine(String line)
      Process one line of output from the execution of the "scm load" 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)
    • getCheckedOutFiles

      public List<ScmFile> getCheckedOutFiles()