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

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

public class ScmConnectionWrapper
extends java.lang.Object


Field Summary
protected static java.lang.String SCM_GIT_PREFIX
           
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
 java.lang.String getUrl()
           
static boolean isGitConnection(java.lang.String url)
           
static boolean isMercurialConnection(java.lang.String url)
           
static boolean isSvnConnection(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

SCM_GIT_PREFIX

protected static final java.lang.String SCM_GIT_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

isSvnConnection

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

isMercurialConnection

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

isGitConnection

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

getUrl

public java.lang.String getUrl()

toString

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


Copyright © 2013 Atlassian. All Rights Reserved.