Class SvnMavenPomAccessor
java.lang.Object
com.atlassian.bamboo.repository.svn.v2.SvnMavenPomAccessor
- All Implemented Interfaces:
VcsMavenPomAccessor
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.vcs.configurator.VcsMavenPomAccessor
POM_XML
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull String
Return Maven's SCM provider key for this repository type.parseMavenScmUrlToVcsBranch
(@NotNull String mavenScmUrl, @Nullable VcsRepositoryData existingData) Parse and setup internal structures from Maven's SCM URL provider specific part.parseMavenScmUrlToVcsLocation
(@NotNull String mavenScmUrl, @Nullable VcsRepositoryData existingData) Parse and setup internal structures from Maven's SCM URL provider specific part.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.bamboo.vcs.configurator.VcsMavenPomAccessor
findPomFileInWorkingCopy
-
Constructor Details
-
SvnMavenPomAccessor
public SvnMavenPomAccessor()
-
-
Method Details
-
getMavenScmProviderKey
Description copied from interface:VcsMavenPomAccessor
Return Maven's SCM provider key for this repository type.- Specified by:
getMavenScmProviderKey
in interfaceVcsMavenPomAccessor
- Returns:
- Maven's SCM provider key
-
parseMavenScmUrlToVcsLocation
public Map<String,String> parseMavenScmUrlToVcsLocation(@NotNull @NotNull String mavenScmUrl, @Nullable @Nullable VcsRepositoryData existingData) throws IllegalArgumentException Description copied from interface:VcsMavenPomAccessor
Parse and setup internal structures from Maven's SCM URL provider specific part. Maven SCM URL format is defined in http://maven.apache.org/scm/scm-url-format.html- Specified by:
parseMavenScmUrlToVcsLocation
in interfaceVcsMavenPomAccessor
- Parameters:
mavenScmUrl
- Provider specific part of Maven SCM URL- Returns:
- new vcs location configuration
- Throws:
IllegalArgumentException
- When SCM URL string cannot be parsed
-
parseMavenScmUrlToVcsBranch
public VcsBranch parseMavenScmUrlToVcsBranch(@NotNull @NotNull String mavenScmUrl, @Nullable @Nullable VcsRepositoryData existingData) throws IllegalArgumentException Description copied from interface:VcsMavenPomAccessor
Parse and setup internal structures from Maven's SCM URL provider specific part. Maven SCM URL format is defined in http://maven.apache.org/scm/scm-url-format.html If there is no branch support it returns null;- Specified by:
parseMavenScmUrlToVcsBranch
in interfaceVcsMavenPomAccessor
- Parameters:
mavenScmUrl
- Provider specific part of Maven SCM URL- Returns:
- new vcs branch configuration
- Throws:
IllegalArgumentException
- When SCM URL string cannot be parsed
-