Class GenericRepositoryViewerConfigurator
java.lang.Object
com.atlassian.bamboo.vcs.viewer.generic.GenericRepositoryViewerConfigurator
- All Implemented Interfaces:
VcsRepositoryViewerConfigurator
public class GenericRepositoryViewerConfigurator
extends Object
implements VcsRepositoryViewerConfigurator
-
Constructor Summary
ConstructorDescriptionGenericRepositoryViewerConfigurator
(CustomVariableContext customVariableContext) -
Method Summary
Modifier and TypeMethodDescriptiongenerateConfigMap
(@NotNull ActionParametersMap actionParametersMap, @Nullable VcsRepositoryViewerDefinition previousViewerDefinition) void
populateContextForCreate
(@NotNull Map<String, Object> context) void
populateContextForEdit
(@NotNull Map<String, Object> context, @NotNull VcsRepositoryViewerDefinition vcsRepositoryViewerDefinition) void
populateContextForView
(@NotNull Map<String, Object> context, @NotNull VcsRepositoryViewerDefinition vcsRepositoryViewerDefinition) void
validate
(@NotNull ActionParametersMap actionParametersMap, @NotNull ErrorCollection errorCollection) static @NotNull ErrorCollection
validate
(@NotNull CustomVariableContext customVariableContext, @Nullable String webRepositoryUrl)
-
Constructor Details
-
GenericRepositoryViewerConfigurator
-
-
Method Details
-
populateContextForCreate
- Specified by:
populateContextForCreate
in interfaceVcsRepositoryViewerConfigurator
-
populateContextForEdit
public void populateContextForEdit(@NotNull @NotNull Map<String, Object> context, @NotNull @NotNull VcsRepositoryViewerDefinition vcsRepositoryViewerDefinition) - Specified by:
populateContextForEdit
in interfaceVcsRepositoryViewerConfigurator
-
populateContextForView
public void populateContextForView(@NotNull @NotNull Map<String, Object> context, @NotNull @NotNull VcsRepositoryViewerDefinition vcsRepositoryViewerDefinition) - Specified by:
populateContextForView
in interfaceVcsRepositoryViewerConfigurator
-
validate
public void validate(@NotNull @NotNull ActionParametersMap actionParametersMap, @NotNull @NotNull ErrorCollection errorCollection) - Specified by:
validate
in interfaceVcsRepositoryViewerConfigurator
-
validate
@NotNull public static @NotNull ErrorCollection validate(@NotNull @NotNull CustomVariableContext customVariableContext, @Nullable @Nullable String webRepositoryUrl) -
generateConfigMap
@NotNull public @NotNull Map<String,String> generateConfigMap(@NotNull @NotNull ActionParametersMap actionParametersMap, @Nullable @Nullable VcsRepositoryViewerDefinition previousViewerDefinition) - Specified by:
generateConfigMap
in interfaceVcsRepositoryViewerConfigurator
-