public class SvnHandler extends Object implements ScmHandler
| Constructor and Description |
|---|
SvnHandler(org.apache.maven.plugin.logging.Log log,
String connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
assertValidWorkspace(String urlWeWantToPushTo,
String expectedBranch,
String originalWorkspace) |
void |
createRemoteTagAndUpdateToIt(String destinationUrl,
String revisionToTag,
String tagName,
String commitMessage) |
String |
getBranch() |
String |
getTagString(String tagName) |
public SvnHandler(org.apache.maven.plugin.logging.Log log,
@NotNull
String connection)
throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureException@NotNull public String getBranch() throws ScmException
getBranch in interface ScmRoHandlerScmExceptionpublic void assertValidWorkspace(String urlWeWantToPushTo, String expectedBranch, String originalWorkspace)
assertValidWorkspace in interface ScmHandlerpublic void createRemoteTagAndUpdateToIt(String destinationUrl, String revisionToTag, String tagName, String commitMessage) throws ScmException
createRemoteTagAndUpdateToIt in interface ScmHandlerScmException@Nullable public String getTagString(String tagName)
getTagString in interface ScmRoHandlerCopyright © 2015 Atlassian. All rights reserved.