Class LegacyVariableGenerator
- java.lang.Object
-
- com.atlassian.bamboo.vcs.configuration.legacy.LegacyExecutorBase
-
- com.atlassian.bamboo.vcs.configuration.legacy.LegacyVariableGenerator
-
- All Implemented Interfaces:
VcsVariableGenerator
public class LegacyVariableGenerator extends LegacyExecutorBase implements VcsVariableGenerator
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.vcs.configuration.legacy.LegacyExecutorBase
repositoryModuleDescriptor
-
-
Constructor Summary
Constructors Constructor Description LegacyVariableGenerator(RepositoryModuleDescriptor repositoryModuleDescriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Map<String,String>
getLegacyCustomVariables(@NotNull VcsRepositoryData vcsRepositoryData)
@NotNull Map<String,String>
getPlanRepositoryVariables(@NotNull VcsRepositoryData vcsRepositoryData)
Return a map containing name->value mapping of the plan repository format variables.-
Methods inherited from class com.atlassian.bamboo.vcs.configuration.legacy.LegacyExecutorBase
getNewRepositoryInstance, getNewRepositoryInstanceAs, getRepositoryInstance, getRepositoryInstanceAs, xmlToConfiguration
-
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.vcs.runtime.VcsVariableGenerator
getLegacyPrefix
-
-
-
-
Constructor Detail
-
LegacyVariableGenerator
public LegacyVariableGenerator(RepositoryModuleDescriptor repositoryModuleDescriptor)
-
-
Method Detail
-
getPlanRepositoryVariables
@NotNull public @NotNull Map<String,String> getPlanRepositoryVariables(@NotNull @NotNull VcsRepositoryData vcsRepositoryData)
Description copied from interface:VcsVariableGenerator
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.
- Specified by:
getPlanRepositoryVariables
in interfaceVcsVariableGenerator
- Parameters:
vcsRepositoryData
- definition of repository to generate variables for- Returns:
- Map with variable substitutions
-
getLegacyCustomVariables
@NotNull public @NotNull Map<String,String> getLegacyCustomVariables(@NotNull @NotNull VcsRepositoryData vcsRepositoryData)
-
-