|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Repository
Basic contract for interfacing with various version control repository systems.
Field Summary | |
---|---|
static java.lang.String |
SELECTED_REPOSITORY
Deprecated. since 3.3 repository definition is no longer part of BuildConfiguration |
static java.lang.String |
UNKNOWN_HOST
A marker string to return when the host is not known |
Method Summary | |
---|---|
ErrorCollection |
checkConnection()
This method internally validates the current connection for the repository. |
java.lang.String |
getHost()
What's the repository server host |
java.lang.String |
getKey()
The full complete plugin key for the repo |
java.lang.String |
getLocationIdentifier()
A string representing the location of the repository |
java.lang.String |
getMinimalEditHtml(BuildConfiguration buildConfiguration)
Returns HTML for the minimal configuration of the repository. |
java.lang.String |
getName()
The display name for the repository type |
java.lang.String |
getShortKey()
The mini key from the plugin (should not contain plugin prefix) |
Methods inherited from interface com.atlassian.bamboo.fieldvalue.ConvertibleFromConfig |
---|
populateFromConfig, toConfiguration |
Methods inherited from interface com.atlassian.bamboo.v2.build.repository.RepositoryV2 |
---|
collectChangesSinceLastBuild, getSourceCodeDirectory, isRepositoryDifferent |
Methods inherited from interface com.atlassian.bamboo.v2.build.ConfigurablePlugin |
---|
customizeBuildRequirements, removeBuildRequirements |
Methods inherited from interface com.atlassian.bamboo.v2.build.BuildConfigurationAwarePlugin |
---|
addDefaultValues, prepareConfigObject, validate |
Methods inherited from interface com.atlassian.bamboo.plugin.InitablePluginModule |
---|
init |
Methods inherited from interface com.atlassian.bamboo.v2.build.RenderableBuildConfiguration |
---|
getEditHtml, getViewHtml |
Methods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider |
---|
getDescription |
Field Detail |
---|
static final java.lang.String UNKNOWN_HOST
@Deprecated static final java.lang.String SELECTED_REPOSITORY
BuildConfiguration
BuildConfiguration
Method Detail |
---|
@NotNull java.lang.String getKey()
@NotNull java.lang.String getShortKey()
@NotNull java.lang.String getName()
getName
in interface DescriptionProvider
getName
in interface NameProvider
java.lang.String getHost()
@NotNull java.lang.String getLocationIdentifier()
@NotNull ErrorCollection checkConnection()
ErrorCollection
must not be null. The errors should be translated to error messages, rather than field errors.@Nullable java.lang.String getMinimalEditHtml(@NotNull BuildConfiguration buildConfiguration)
buildConfiguration
- BuildConfiguration object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |