Package com.atlassian.bamboo.repository
Class MavenPomAccessorAbstract<T extends AbstractRepository>
- java.lang.Object
-
- com.atlassian.bamboo.repository.MavenPomAccessorAbstract<T>
-
- All Implemented Interfaces:
MavenPomAccessor
- Direct Known Subclasses:
GitMavenPomAccessor
,PerforceRepositoryMavenPomAccessor
,SvnRepositoryMavenPomAccessor
public abstract class MavenPomAccessorAbstract<T extends AbstractRepository> extends Object implements MavenPomAccessor
-
-
Field Summary
Fields Modifier and Type Field Description protected T
repository
-
Constructor Summary
Constructors Modifier Constructor Description protected
MavenPomAccessorAbstract(T repository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDefaultValues(@NotNull BuildConfiguration buildConfiguration)
Allows setting default values in build configuration for the repository to be added into a plan.@Nullable String
getMavenPomCheckoutAccessEditHtml(@NotNull BuildConfiguration buildConfiguration)
Returns HTML for the Maven POM import configuration of the repository-
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.repository.MavenPomAccessor
checkoutMavenPom, getMavenScmProviderKey, parseMavenScmUrl
-
-
-
-
Field Detail
-
repository
protected final T extends AbstractRepository repository
-
-
Constructor Detail
-
MavenPomAccessorAbstract
protected MavenPomAccessorAbstract(@NotNull T repository)
-
-
Method Detail
-
addDefaultValues
public void addDefaultValues(@NotNull @NotNull BuildConfiguration buildConfiguration)
Description copied from interface:MavenPomAccessor
Allows setting default values in build configuration for the repository to be added into a plan. This method is called beforeConvertibleFromConfig.populateFromConfig(HierarchicalConfiguration)
- Specified by:
addDefaultValues
in interfaceMavenPomAccessor
- Parameters:
buildConfiguration
- build configuration
-
getMavenPomCheckoutAccessEditHtml
@Nullable public @Nullable String getMavenPomCheckoutAccessEditHtml(@NotNull @NotNull BuildConfiguration buildConfiguration)
Description copied from interface:MavenPomAccessor
Returns HTML for the Maven POM import configuration of the repository- Specified by:
getMavenPomCheckoutAccessEditHtml
in interfaceMavenPomAccessor
- Parameters:
buildConfiguration
- BuildConfiguration object- Returns:
- HTML for the Maven POM import configuration of the repository
-
-