com.atlassian.maven.plugins.sandbox.scm
Class SvnHandler
java.lang.Object
com.atlassian.maven.plugins.sandbox.scm.SvnHandler
- All Implemented Interfaces:
- ScmHandler, ScmRoHandler
public class SvnHandler
- extends Object
- implements ScmHandler
|
Constructor Summary |
SvnHandler(org.apache.maven.plugin.logging.Log log,
String connection)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SvnHandler
public SvnHandler(org.apache.maven.plugin.logging.Log log,
@NotNull
String connection)
throws org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoFailureException
getBranch
@NotNull
public String getBranch()
throws ScmException
- Specified by:
getBranch in interface ScmRoHandler
- Throws:
ScmException
assertValidWorkspace
public void assertValidWorkspace(String urlWeWantToPushTo,
String expectedBranch,
String originalWorkspace)
- Specified by:
assertValidWorkspace in interface ScmHandler
createRemoteTagAndUpdateToIt
public void createRemoteTagAndUpdateToIt(String destinationUrl,
String revisionToTag,
String tagName,
String commitMessage)
throws ScmException
- Specified by:
createRemoteTagAndUpdateToIt in interface ScmHandler
- Throws:
ScmException
getTagString
@Nullable
public String getTagString(String tagName)
- Specified by:
getTagString in interface ScmRoHandler
Copyright © 2015 Atlassian. All rights reserved.