Class DebugLoggerConsumer

All Implemented Interfaces:
org.codehaus.plexus.util.cli.StreamConsumer

public class DebugLoggerConsumer extends AbstractRepositoryConsumer
This class exists only to consume output that is normally not needed, though it may be of interest when in debug mode.

For example, "scm lock acquire" produces: "Locks successfully acquired." and "scm lock release" produces: "Locks successfully released."

So, basically nothing of real interest to parse and pass back.

  • Field Details

  • Constructor Details

    • DebugLoggerConsumer

      public DebugLoggerConsumer(ScmLogger logger)
  • Method Details

    • consumeLine

      public void consumeLine(String line)
      Description copied from class: AbstractRepositoryConsumer
      Process one line of output from the execution of the "scm xxxx" 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)
    • getOutput

      public String getOutput()