com.atlassian.maven.plugins.sandbox
Class ScmConnectionWrapper

java.lang.Object
  extended by com.atlassian.maven.plugins.sandbox.ScmConnectionWrapper

public class ScmConnectionWrapper
extends java.lang.Object


Nested Class Summary
static class ScmConnectionWrapper.RepositoryType
           
 
Field Summary
protected static java.lang.String SCM_HG_PREFIX
           
protected static java.lang.String SCM_SVN_PREFIX
           
 
Constructor Summary
ScmConnectionWrapper(java.lang.String connection)
           
 
Method Summary
 int getRepositoryType()
           
 java.lang.String getTagString(java.lang.String tag)
           
 java.lang.String getUrl()
           
static boolean isMercurialConnection(java.lang.String url)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SCM_SVN_PREFIX

protected static final java.lang.String SCM_SVN_PREFIX
See Also:
Constant Field Values

SCM_HG_PREFIX

protected static final java.lang.String SCM_HG_PREFIX
See Also:
Constant Field Values
Constructor Detail

ScmConnectionWrapper

public ScmConnectionWrapper(java.lang.String connection)
                     throws org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoFailureException
Method Detail

isMercurialConnection

public static boolean isMercurialConnection(java.lang.String url)

getUrl

public java.lang.String getUrl()

getRepositoryType

public int getRepositoryType()

getTagString

@Nullable
public java.lang.String getTagString(java.lang.String tag)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2012 Atlassian. All Rights Reserved.