Class VcsViewerUIConfigBean
java.lang.Object
com.atlassian.bamboo.configuration.repository.VcsViewerUIConfigBean
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final VcsViewerUIConfigBean.VcsViewerTypeSelector
static final String
-
Constructor Summary
ConstructorDescriptionVcsViewerUIConfigBean
(VcsRepositoryViewerManager viewerManager, TemplateRenderer templateRenderer) -
Method Summary
Modifier and TypeMethodDescription@Nullable VcsRepositoryViewerDefinition
getViewerDefinitionFromActionContext
(@NotNull ActionParametersMap actionParametersMap, @NotNull VcsRepositoryModuleDescriptor vcsRepositoryModuleDescriptor, @Nullable VcsRepositoryViewerDefinition existingDefinition, boolean applyDefaultValues) getViewerOptionsForRepositoryType
(@NotNull String repositoryPluginKey, @Nullable VcsRepositoryViewerDefinition existingDefinition, TaskRenderMode renderMode) getViewerOptionsForRepositoryType
(@NotNull String repositoryPluginKey, TaskRenderMode renderMode) getViewerViewHtml
(@NotNull VcsRepositoryViewerDefinition viewerDefinition) void
validateViewerConfiguration
(ActionParametersMap actionParametersMap, ErrorCollection errorCollection)
-
Field Details
-
SELECTED_VIEWER
- See Also:
-
NO_VIEWER
-
-
Constructor Details
-
VcsViewerUIConfigBean
public VcsViewerUIConfigBean(VcsRepositoryViewerManager viewerManager, TemplateRenderer templateRenderer)
-
-
Method Details
-
getViewerOptionsForRepositoryType
public List<VcsViewerUIConfigBean.VcsViewerTypeSelector> getViewerOptionsForRepositoryType(@NotNull @NotNull String repositoryPluginKey, TaskRenderMode renderMode) -
getViewerOptionsForRepositoryType
@NotNull public @NotNull List<VcsViewerUIConfigBean.VcsViewerTypeSelector> getViewerOptionsForRepositoryType(@NotNull @NotNull String repositoryPluginKey, @Nullable @Nullable VcsRepositoryViewerDefinition existingDefinition, TaskRenderMode renderMode) -
getViewerViewHtml
public VcsViewerUIConfigBean.VcsViewerTypeSelector getViewerViewHtml(@NotNull @NotNull VcsRepositoryViewerDefinition viewerDefinition) -
getViewerDefinitionFromActionContext
@Nullable public @Nullable VcsRepositoryViewerDefinition getViewerDefinitionFromActionContext(@NotNull @NotNull ActionParametersMap actionParametersMap, @NotNull @NotNull VcsRepositoryModuleDescriptor vcsRepositoryModuleDescriptor, @Nullable @Nullable VcsRepositoryViewerDefinition existingDefinition, boolean applyDefaultValues) -
validateViewerConfiguration
public void validateViewerConfiguration(ActionParametersMap actionParametersMap, ErrorCollection errorCollection)
-