java.lang.Object
org.apache.maven.scm.provider.git.gitexe.command.remoteinfo.GitRemoteInfoConsumer
All Implemented Interfaces:
org.codehaus.plexus.util.cli.StreamConsumer

public class GitRemoteInfoConsumer extends Object implements org.codehaus.plexus.util.cli.StreamConsumer
  • Field Details

    • BRANCH_PATTERN

      private static final Pattern BRANCH_PATTERN
      The pattern used to match branches
    • TAGS_PATTERN

      private static final Pattern TAGS_PATTERN
      The pattern used to match tags
    • logger

      private ScmLogger logger
    • remoteInfoScmResult

      private RemoteInfoScmResult remoteInfoScmResult
  • Constructor Details

    • GitRemoteInfoConsumer

      public GitRemoteInfoConsumer(ScmLogger logger, String commandLine)
  • Method Details

    • consumeLine

      public void consumeLine(String line)
      Specified by:
      consumeLine in interface org.codehaus.plexus.util.cli.StreamConsumer
    • getRemoteInfoScmResult

      public RemoteInfoScmResult getRemoteInfoScmResult()