public class LegacyVariableGenerator extends LegacyExecutorBase implements VcsVariableGenerator
repositoryModuleDescriptor
Constructor and Description |
---|
LegacyVariableGenerator(RepositoryModuleDescriptor repositoryModuleDescriptor) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getLegacyCustomVariables(VcsRepositoryData vcsRepositoryData) |
Map<String,String> |
getPlanRepositoryVariables(VcsRepositoryData vcsRepositoryData)
Return a map containing name->value mapping of the plan repository format variables.
|
getNewRepositoryInstance, getNewRepositoryInstanceAs, getRepositoryInstance, getRepositoryInstanceAs, xmlToConfiguration
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLegacyPrefix
public LegacyVariableGenerator(RepositoryModuleDescriptor repositoryModuleDescriptor)
@NotNull public Map<String,String> getPlanRepositoryVariables(@NotNull VcsRepositoryData vcsRepositoryData)
VcsVariableGenerator
Null values will be filtered out so it's safe to put them in the map.
getPlanRepositoryVariables
in interface VcsVariableGenerator
vcsRepositoryData
- definition of repository to generate variables for@NotNull public Map<String,String> getLegacyCustomVariables(@NotNull VcsRepositoryData vcsRepositoryData)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.