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
Constructors Constructor Description GenericRepositoryViewerConfigurator(CustomVariableContext customVariableContext)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Map<String,String>
generateConfigMap(@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 Detail
-
GenericRepositoryViewerConfigurator
@Inject public GenericRepositoryViewerConfigurator(CustomVariableContext customVariableContext)
-
-
Method Detail
-
populateContextForCreate
public void populateContextForCreate(@NotNull @NotNull Map<String,Object> context)
- 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
-
-