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
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull StringReturn 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, waitMethods inherited from interface com.atlassian.bamboo.vcs.configurator.VcsMavenPomAccessor
findPomFileInWorkingCopy
-
Constructor Details
-
SvnMavenPomAccessor
public SvnMavenPomAccessor()
-
-
Method Details
-
getMavenScmProviderKey
Description copied from interface:VcsMavenPomAccessorReturn Maven's SCM provider key for this repository type.- Specified by:
getMavenScmProviderKeyin 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:VcsMavenPomAccessorParse 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:
parseMavenScmUrlToVcsLocationin 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:VcsMavenPomAccessorParse 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:
parseMavenScmUrlToVcsBranchin interfaceVcsMavenPomAccessor- Parameters:
mavenScmUrl- Provider specific part of Maven SCM URL- Returns:
- new vcs branch configuration
- Throws:
IllegalArgumentException- When SCM URL string cannot be parsed
-