Class GitRemoteInfoConsumer
- 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 java.lang.Object implements org.codehaus.plexus.util.cli.StreamConsumer
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.regex.Pattern
BRANCH_PATTERN
The pattern used to match branchesprivate ScmLogger
logger
private RemoteInfoScmResult
remoteInfoScmResult
private static java.util.regex.Pattern
TAGS_PATTERN
The pattern used to match tags
-
Constructor Summary
Constructors Constructor Description GitRemoteInfoConsumer(ScmLogger logger, java.lang.String commandLine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
consumeLine(java.lang.String line)
RemoteInfoScmResult
getRemoteInfoScmResult()
-
-
-
Field Detail
-
BRANCH_PATTERN
private static final java.util.regex.Pattern BRANCH_PATTERN
The pattern used to match branches
-
TAGS_PATTERN
private static final java.util.regex.Pattern TAGS_PATTERN
The pattern used to match tags
-
logger
private ScmLogger logger
-
remoteInfoScmResult
private RemoteInfoScmResult remoteInfoScmResult
-
-
Constructor Detail
-
GitRemoteInfoConsumer
public GitRemoteInfoConsumer(ScmLogger logger, java.lang.String commandLine)
-
-
Method Detail
-
consumeLine
public void consumeLine(java.lang.String line)
- Specified by:
consumeLine
in interfaceorg.codehaus.plexus.util.cli.StreamConsumer
-
getRemoteInfoScmResult
public RemoteInfoScmResult getRemoteInfoScmResult()
-
-