Class GitRemoteInfoConsumer
- java.lang.Object
-
- org.apache.maven.scm.util.AbstractConsumer
-
- org.apache.maven.scm.provider.git.gitexe.command.remoteinfo.GitRemoteInfoConsumer
-
- All Implemented Interfaces:
org.codehaus.plexus.util.cli.StreamConsumer
public class GitRemoteInfoConsumer extends AbstractConsumer
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.regex.PatternBRANCH_PATTERNThe pattern used to match branches.private RemoteInfoScmResultremoteInfoScmResultprivate static java.util.regex.PatternTAGS_PATTERNThe pattern used to match tags.-
Fields inherited from class org.apache.maven.scm.util.AbstractConsumer
logger
-
-
Constructor Summary
Constructors Constructor Description GitRemoteInfoConsumer(java.lang.String commandLine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconsumeLine(java.lang.String line)RemoteInfoScmResultgetRemoteInfoScmResult()-
Methods inherited from class org.apache.maven.scm.util.AbstractConsumer
parseDate, parseDate
-
-
-
-
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.
-
remoteInfoScmResult
private final RemoteInfoScmResult remoteInfoScmResult
-
-
Method Detail
-
consumeLine
public void consumeLine(java.lang.String line)
-
getRemoteInfoScmResult
public RemoteInfoScmResult getRemoteInfoScmResult()
-
-