Interface CustomVariableProviderRepository

All Superinterfaces:
BambooPluginModule, BuildConfigurationAwarePlugin, ConfigurablePlugin, ConvertibleFromConfig, DescriptionProvider, InitablePluginModule, NameProvider, RenderableBuildConfiguration, Repository, RepositoryV2, Serializable
All Known Subinterfaces:
StashRepository
All Known Implementing Classes:
BitbucketRepository, GitHubRepository, GitRepository, StashRepositoryImpl, SvnRepository

public interface CustomVariableProviderRepository extends Repository
Allows the Repository implementation to provide variables specific to the repository.
  • Method Details

    • getCustomVariables

      @NotNull @Deprecated @NotNull Map<String,String> getCustomVariables()
      Deprecated.
      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 @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