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