public class GitHubServerConfigurator extends Object implements VcsLocationConfigurator
| Constructor and Description |
|---|
GitHubServerConfigurator() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDefaultsForAdvancedOptions(Map<String,String> cfgMap)
In Plan creation screen advanced options' UI is not displayed.
|
Map<String,String> |
generateConfigMap(ActionParametersMap actionParametersMap,
VcsLocationDefinition previousVcsLocationDefinition) |
String |
getLocationIdentifier(VcsLocationDefinition vcsLocationDefinition)
A string representing the location of the repository.
|
Optional<VcsType> |
getScmType(VcsLocationDefinition vcsLocationDefinition)
Return the type of vcs system used by a repository.
|
String |
getServerHost(VcsLocationDefinition vcsLocationDefinition)
What's the repository server host.
|
void |
populateContextForCreate(Map<String,Object> context) |
void |
populateContextForEdit(Map<String,Object> context,
VcsLocationDefinition vcsLocationDefinition) |
void |
populateContextForView(Map<String,Object> context,
VcsLocationDefinition vcsLocationDefinition) |
void |
validate(ActionParametersMap actionParametersMap,
VcsLocationDefinition previousVcsLocationDefinition,
ErrorCollection errorCollection) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSharedCredentialsIds, validateForConnectionTestingpublic void populateContextForCreate(@NotNull
Map<String,Object> context)
populateContextForCreate in interface VcsLocationConfiguratorpublic void populateContextForEdit(@NotNull
Map<String,Object> context,
@NotNull
VcsLocationDefinition vcsLocationDefinition)
populateContextForEdit in interface VcsLocationConfiguratorpublic void populateContextForView(@NotNull
Map<String,Object> context,
@NotNull
VcsLocationDefinition vcsLocationDefinition)
populateContextForView in interface VcsLocationConfiguratorpublic void validate(@NotNull
ActionParametersMap actionParametersMap,
@Nullable
VcsLocationDefinition previousVcsLocationDefinition,
@NotNull
ErrorCollection errorCollection)
validate in interface VcsLocationConfigurator@NotNull public Map<String,String> generateConfigMap(@NotNull ActionParametersMap actionParametersMap, @Nullable VcsLocationDefinition previousVcsLocationDefinition)
generateConfigMap in interface VcsLocationConfiguratorpublic void addDefaultsForAdvancedOptions(@NotNull
Map<String,String> cfgMap)
VcsLocationConfiguratoraddDefaultsForAdvancedOptions in interface VcsLocationConfigurator@NotNull public String getServerHost(@NotNull VcsLocationDefinition vcsLocationDefinition)
VcsLocationConfiguratorgetServerHost in interface VcsLocationConfigurator@NotNull public String getLocationIdentifier(@NotNull VcsLocationDefinition vcsLocationDefinition)
VcsLocationConfiguratorgetLocationIdentifier in interface VcsLocationConfiguratorpublic Optional<VcsType> getScmType(@NotNull VcsLocationDefinition vcsLocationDefinition)
VcsLocationConfiguratorVcsType.GIT or VcsType.HGgetScmType in interface VcsLocationConfiguratorCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.