Class LegacyMavenPomAccessor
java.lang.Object
com.atlassian.bamboo.vcs.configuration.legacy.LegacyExecutorBase
com.atlassian.bamboo.vcs.configuration.legacy.configurator.LegacyMavenPomAccessor
- All Implemented Interfaces:
VcsMavenPomAccessor
-
Field Summary
Fields inherited from class com.atlassian.bamboo.vcs.configuration.legacy.LegacyExecutorBase
repositoryModuleDescriptor
Fields inherited from interface com.atlassian.bamboo.vcs.configurator.VcsMavenPomAccessor
POM_XML
-
Constructor Summary
ConstructorDescriptionLegacyMavenPomAccessor
(RepositoryModuleDescriptor repositoryModuleDescriptor) -
Method Summary
Modifier and TypeMethodDescription@NotNull String
Return Maven's SCM provider key for this repository type.parseMavenScmUrlToVcsLocation
(@NotNull String mavenScmUrl, @Nullable VcsRepositoryData existingData) Parse and setup internal structures from Maven's SCM URL provider specific part.Methods inherited from class com.atlassian.bamboo.vcs.configuration.legacy.LegacyExecutorBase
getNewRepositoryInstance, getNewRepositoryInstanceAs, getRepositoryInstance, getRepositoryInstanceAs, xmlToConfiguration
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, parseMavenScmUrlToVcsBranch
-
Constructor Details
-
LegacyMavenPomAccessor
-
-
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
-