com.atlassian.bamboo.repository
Interface CustomVariableProviderRepository

All Superinterfaces:
BambooPluginModule, BuildConfigurationAwarePlugin, ConfigurablePlugin, ConvertibleFromConfig, DescriptionProvider, InitablePluginModule, NameProvider, RenderableBuildConfiguration, Repository, RepositoryV2, Serializable
All Known Implementing Classes:
BitbucketRepository, GitHubRepository, GitRepository, HgRepository, PerforceRepository, StashRepository, 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
 Map<String,String> getCustomVariables()
          Deprecated. since 5.9, use getPlanRepositoryVariables()
 Map<String,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
@Deprecated
Map<String,String> getCustomVariables()
Deprecated. since 5.9, use getPlanRepositoryVariables()

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
Map<String,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 © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.