public class GitRemoteInfoConsumer
extends java.lang.Object
implements org.codehaus.plexus.util.cli.StreamConsumer
Modifier and Type | Field and Description |
---|---|
private static java.util.regex.Pattern |
BRANCH_PATTERN
The pattern used to match branches
|
private ScmLogger |
logger |
private RemoteInfoScmResult |
remoteInfoScmResult |
private static java.util.regex.Pattern |
TAGS_PATTERN
The pattern used to match tags
|
Constructor and Description |
---|
GitRemoteInfoConsumer(ScmLogger logger,
java.lang.String commandLine) |
Modifier and Type | Method and Description |
---|---|
void |
consumeLine(java.lang.String line) |
RemoteInfoScmResult |
getRemoteInfoScmResult() |
private static final java.util.regex.Pattern BRANCH_PATTERN
private static final java.util.regex.Pattern TAGS_PATTERN
private ScmLogger logger
private RemoteInfoScmResult remoteInfoScmResult
public GitRemoteInfoConsumer(ScmLogger logger, java.lang.String commandLine)
public void consumeLine(java.lang.String line)
consumeLine
in interface org.codehaus.plexus.util.cli.StreamConsumer
public RemoteInfoScmResult getRemoteInfoScmResult()