public class GitHandler extends Object implements ScmHandler
| Constructor and Description |
|---|
GitHandler(org.apache.maven.plugin.logging.Log log) |
| 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) |
@NotNull public String getBranch() throws ScmException
getBranch in interface ScmRoHandlerScmExceptionpublic void assertValidWorkspace(String urlWeWantToPushTo, String expectedBranch, String originalWorkspace) throws ScmException
assertValidWorkspace in interface ScmHandlerScmExceptionpublic 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.