public interface MavenPomAccessor
Modifier and Type | Method and Description |
---|---|
void |
addDefaultValues(@NotNull BuildConfiguration buildConfiguration)
Allows setting default values in build configuration for the repository to be added into a plan.
|
@NotNull File |
checkoutMavenPom(@NotNull File destinationPath)
Checkout Maven POM and return File pointing to the project file
|
@Nullable String |
getMavenPomCheckoutAccessEditHtml(@NotNull BuildConfiguration buildConfiguration)
Returns HTML for the Maven POM import configuration of the repository
|
@NotNull String |
getMavenScmProviderKey()
Return Maven's SCM provider key for this repository type.
|
void |
parseMavenScmUrl(@NotNull String mavenScmUrl)
Parse and setup internal structures from Maven's SCM URL provider specific part.
|
@NotNull @NotNull String getMavenScmProviderKey()
void parseMavenScmUrl(@NotNull @NotNull String mavenScmUrl) throws IllegalArgumentException
mavenScmUrl
- Provider specific part of Maven SCM URLIllegalArgumentException
- When SCM URL string cannot be parsed@NotNull @NotNull File checkoutMavenPom(@NotNull @NotNull File destinationPath) throws RepositoryException
destinationPath
- Checkout destinationRepositoryException
- In case of repository access problemsvoid addDefaultValues(@NotNull @NotNull BuildConfiguration buildConfiguration)
ConvertibleFromConfig.populateFromConfig(HierarchicalConfiguration)
buildConfiguration
- build configuration@Nullable @Nullable String getMavenPomCheckoutAccessEditHtml(@NotNull @NotNull BuildConfiguration buildConfiguration)
buildConfiguration
- BuildConfiguration objectCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.