Class SvnMavenPomAccessor
- java.lang.Object
-
- com.atlassian.bamboo.repository.svn.v2.SvnMavenPomAccessor
-
- All Implemented Interfaces:
VcsMavenPomAccessor
public class SvnMavenPomAccessor extends Object implements VcsMavenPomAccessor
-
-
Field Summary
-
Fields inherited from interface com.atlassian.bamboo.vcs.configurator.VcsMavenPomAccessor
POM_XML
-
-
Constructor Summary
Constructors Constructor Description SvnMavenPomAccessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull String
getMavenScmProviderKey()
Return Maven's SCM provider key for this repository type.VcsBranch
parseMavenScmUrlToVcsBranch(@NotNull String mavenScmUrl, @Nullable VcsRepositoryData existingData)
Parse and setup internal structures from Maven's SCM URL provider specific part.Map<String,String>
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
-
-
-
-
Method Detail
-
getMavenScmProviderKey
@NotNull public @NotNull String 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
-
-