com.atlassian.bamboo.repository
Interface CustomVariableProviderRepository

All Superinterfaces:
BambooPluginModule, BuildConfigurationAwarePlugin, ConfigurablePlugin, ConvertibleFromConfig, DescriptionProvider, InitablePluginModule, NameProvider, RenderableBuildConfiguration, Repository, RepositoryV2, java.io.Serializable
All Known Implementing Classes:
AppLinksSvnRepository, HgRepository, SvnRepository

public interface CustomVariableProviderRepository
extends Repository

Allows the Repository implementation to provide variables specific to the repository.


Field Summary
 
Fields inherited from interface com.atlassian.bamboo.repository.Repository
SELECTED_REPOSITORY, UNKNOWN_HOST
 
Method Summary
 java.util.Map<java.lang.String,java.lang.String> getCustomVariables()
          Return a map containing name->value mapping of the variables.
 java.util.Map<java.lang.String,java.lang.String> getPlanRepositoryVariables()
          Return a map containing name->value mapping of the plan repository format variables.
 
Methods inherited from interface com.atlassian.bamboo.repository.Repository
checkConnection, getHost, getKey, getLocationIdentifier, getMinimalEditHtml, getName, getShortKey
 
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
 

Method Detail

getCustomVariables

@NotNull
java.util.Map<java.lang.String,java.lang.String> getCustomVariables()
Return a map containing name->value mapping of the variables.

Null values will be filtered out so it's safe to put them in the map.

Returns:
Map with variable substitutions

getPlanRepositoryVariables

@NotNull
java.util.Map<java.lang.String,java.lang.String> getPlanRepositoryVariables()
Return a map containing name->value mapping of the plan repository format variables.

Null values will be filtered out so it's safe to put them in the map.

Returns:
Map with variable substitutions


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.