Class BitbucketServerVariableGenerator
java.lang.Object
com.atlassian.bamboo.plugins.stash.v2.AbstractBitbucketServerExecutor
com.atlassian.bamboo.plugins.stash.v2.BitbucketServerVariableGenerator
- All Implemented Interfaces:
VcsVariableGenerator
public class BitbucketServerVariableGenerator
extends AbstractBitbucketServerExecutor
implements VcsVariableGenerator
-
Field Summary
Fields inherited from class com.atlassian.bamboo.plugins.stash.v2.AbstractBitbucketServerExecutor
vcsRepositoryManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable String
Provides default prefix for generated variables.getPlanRepositoryVariables
(@NotNull VcsRepositoryData vcsRepositoryData) Return a map containing name->value mapping of the plan repository format variables.Methods inherited from class com.atlassian.bamboo.plugins.stash.v2.AbstractBitbucketServerExecutor
bitbucketServerToGitData, executeOnMirrorWithPrimaryFallback, executeOnMirrorWithPrimaryFallback, getGitModuleDescriptor, shouldFallbackToPolling
-
Constructor Details
-
BitbucketServerVariableGenerator
public BitbucketServerVariableGenerator()
-
-
Method Details
-
getLegacyPrefix
Description copied from interface:VcsVariableGenerator
Provides default prefix for generated variables.- Specified by:
getLegacyPrefix
in interfaceVcsVariableGenerator
-
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
-