Class SvnServerConfigurator
java.lang.Object
com.atlassian.bamboo.repository.svn.v2.configurator.SvnServerConfigurator
- All Implemented Interfaces:
VcsLocationConfigurator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDefaultsForAdvancedOptions
(@NotNull Map<String, String> cfgMap) In Plan creation screen advanced options' UI is not displayed.generateConfigMap
(@NotNull ActionParametersMap actionParametersMap, @Nullable VcsLocationDefinition previousVcsLocationDefinition) @NotNull String
getLocationIdentifier
(@NotNull VcsLocationDefinition vcsLocationDefinition) A string representing the location of the repository.@NotNull String
getServerHost
(@NotNull VcsLocationDefinition vcsLocationDefinition) What's the repository server host.void
populateContextForCreate
(@NotNull Map<String, Object> context) void
populateContextForEdit
(@NotNull Map<String, Object> context, @NotNull VcsLocationDefinition vcsLocationDefinition) void
populateContextForView
(@NotNull Map<String, Object> context, @NotNull VcsLocationDefinition vcsLocationDefinition) void
validate
(@NotNull ActionParametersMap actionParametersMap, @Nullable VcsLocationDefinition previousVcsLocationDefinition, @NotNull ErrorCollection errorCollection) 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.configurator.VcsLocationConfigurator
getScmType, getSharedCredentialsIds, isWebhookEnabled, setVcsLocationDataInConfig, validateForConnectionTesting
-
Constructor Details
-
SvnServerConfigurator
public SvnServerConfigurator()
-
-
Method Details
-
populateContextForCreate
- Specified by:
populateContextForCreate
in interfaceVcsLocationConfigurator
-
populateContextForEdit
public void populateContextForEdit(@NotNull @NotNull Map<String, Object> context, @NotNull @NotNull VcsLocationDefinition vcsLocationDefinition) - Specified by:
populateContextForEdit
in interfaceVcsLocationConfigurator
-
populateContextForView
public void populateContextForView(@NotNull @NotNull Map<String, Object> context, @NotNull @NotNull VcsLocationDefinition vcsLocationDefinition) - Specified by:
populateContextForView
in interfaceVcsLocationConfigurator
-
validate
public void validate(@NotNull @NotNull ActionParametersMap actionParametersMap, @Nullable @Nullable VcsLocationDefinition previousVcsLocationDefinition, @NotNull @NotNull ErrorCollection errorCollection) - Specified by:
validate
in interfaceVcsLocationConfigurator
-
generateConfigMap
@NotNull public @NotNull Map<String,String> generateConfigMap(@NotNull @NotNull ActionParametersMap actionParametersMap, @Nullable @Nullable VcsLocationDefinition previousVcsLocationDefinition) - Specified by:
generateConfigMap
in interfaceVcsLocationConfigurator
-
addDefaultsForAdvancedOptions
Description copied from interface:VcsLocationConfigurator
In Plan creation screen advanced options' UI is not displayed. In that case the defaults for those options need to be provided.- Specified by:
addDefaultsForAdvancedOptions
in interfaceVcsLocationConfigurator
-
getServerHost
@NotNull public @NotNull String getServerHost(@NotNull @NotNull VcsLocationDefinition vcsLocationDefinition) Description copied from interface:VcsLocationConfigurator
What's the repository server host. It's OK to return an empty string.- Specified by:
getServerHost
in interfaceVcsLocationConfigurator
-
getLocationIdentifier
@NotNull public @NotNull String getLocationIdentifier(@NotNull @NotNull VcsLocationDefinition vcsLocationDefinition) Description copied from interface:VcsLocationConfigurator
A string representing the location of the repository. Usually simply the content of url (or equivalent) field.- Specified by:
getLocationIdentifier
in interfaceVcsLocationConfigurator
-