com.atlassian.maven.plugins.sandbox.scm
Class ScmConnectionWrapper

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

public class ScmConnectionWrapper
extends Object


Field Summary
protected static String SCM_GIT_PREFIX
           
protected static String SCM_HG_PREFIX
           
protected static String SCM_SVN_PREFIX
           
 
Constructor Summary
ScmConnectionWrapper(String connection)
           
 
Method Summary
 String getUrl()
           
static boolean isGitConnection(String url)
           
static boolean isMercurialConnection(String url)
           
static boolean isSvnConnection(String url)
           
 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 String SCM_SVN_PREFIX
See Also:
Constant Field Values

SCM_HG_PREFIX

protected static final String SCM_HG_PREFIX
See Also:
Constant Field Values

SCM_GIT_PREFIX

protected static final String SCM_GIT_PREFIX
See Also:
Constant Field Values
Constructor Detail

ScmConnectionWrapper

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

isSvnConnection

public static boolean isSvnConnection(String url)

isMercurialConnection

public static boolean isMercurialConnection(String url)

isGitConnection

public static boolean isGitConnection(String url)

getUrl

public String getUrl()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015 Atlassian. All rights reserved.