public interface VcsBranchConfigurator
Modifier and Type | Method and Description |
---|---|
VcsBranch |
createVcsBranchFromName(String name)
Create new vcs branch instance given it's name
|
default Map<String,String> |
generateConfigMap(ActionParametersMap actionParametersMap,
VcsBranchDefinition previousBranchDefinition)
Deprecated.
since 5.15 use {@link #generateConfigMap(ActionParametersMap, VcsBranchDefinition, Map
|
default Map<String,String> |
generateConfigMap(ActionParametersMap actionParametersMap,
VcsBranchDefinition previousBranchDefinition,
Map<String,String> locationConfiguration) |
VcsBranch |
getVcsBranchFromConfig(Map<String,String> configMap)
Return branch name according to provided config.
|
void |
populateContextForCreate(Map<String,Object> context) |
void |
populateContextForEdit(Map<String,Object> context,
VcsBranchDefinition branchDefinition) |
void |
populateContextForView(Map<String,Object> context,
VcsBranchDefinition branchDefinition) |
Map<String,String> |
setVcsBranchInConfig(Map<String,String> configMap,
VcsBranch vcsBranch)
Modify config map setting branch to provided one.
|
void |
validate(ActionParametersMap actionParametersMap,
ErrorCollection errorCollection) |
void populateContextForEdit(@NotNull Map<String,Object> context, @NotNull VcsBranchDefinition branchDefinition)
void populateContextForView(@NotNull Map<String,Object> context, @NotNull VcsBranchDefinition branchDefinition)
void validate(@NotNull ActionParametersMap actionParametersMap, @NotNull ErrorCollection errorCollection)
@Deprecated @NotNull default Map<String,String> generateConfigMap(@NotNull ActionParametersMap actionParametersMap, @Nullable VcsBranchDefinition previousBranchDefinition)
actionParametersMap
- previousBranchDefinition
- @NotNull default Map<String,String> generateConfigMap(@NotNull ActionParametersMap actionParametersMap, @Nullable VcsBranchDefinition previousBranchDefinition, @NotNull Map<String,String> locationConfiguration)
actionParametersMap
- previousBranchDefinition
- locationConfiguration
- - actual server configuration that can be checked when generating branch configuration@NotNull VcsBranch getVcsBranchFromConfig(@NotNull Map<String,String> configMap)
configMap
- @NotNull Map<String,String> setVcsBranchInConfig(@NotNull Map<String,String> configMap, @NotNull VcsBranch vcsBranch)
configMap
- vcsBranch
- Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.