public class VcsViewerUIConfigBean extends Object
Modifier and Type | Class and Description |
---|---|
static class |
VcsViewerUIConfigBean.VcsViewerTypeSelector |
Modifier and Type | Field and Description |
---|---|
static VcsViewerUIConfigBean.VcsViewerTypeSelector |
NO_VIEWER |
static String |
SELECTED_VIEWER |
Constructor and Description |
---|
VcsViewerUIConfigBean(VcsRepositoryViewerManager viewerManager,
TemplateRenderer templateRenderer) |
Modifier and Type | Method and Description |
---|---|
@Nullable VcsRepositoryViewerDefinition |
getViewerDefinitionFromActionContext(@NotNull ActionParametersMap actionParametersMap,
@NotNull VcsRepositoryModuleDescriptor vcsRepositoryModuleDescriptor,
@Nullable VcsRepositoryViewerDefinition existingDefinition,
boolean applyDefaultValues) |
List<VcsViewerUIConfigBean.VcsViewerTypeSelector> |
getViewerOptionsForRepositoryType(@NotNull String repositoryPluginKey,
TaskRenderMode renderMode) |
@NotNull List<VcsViewerUIConfigBean.VcsViewerTypeSelector> |
getViewerOptionsForRepositoryType(@NotNull String repositoryPluginKey,
@Nullable VcsRepositoryViewerDefinition existingDefinition,
TaskRenderMode renderMode) |
VcsViewerUIConfigBean.VcsViewerTypeSelector |
getViewerViewHtml(@NotNull VcsRepositoryViewerDefinition viewerDefinition) |
void |
validateViewerConfiguration(ActionParametersMap actionParametersMap,
ErrorCollection errorCollection) |
public static final String SELECTED_VIEWER
public static final VcsViewerUIConfigBean.VcsViewerTypeSelector NO_VIEWER
public VcsViewerUIConfigBean(VcsRepositoryViewerManager viewerManager, TemplateRenderer templateRenderer)
public List<VcsViewerUIConfigBean.VcsViewerTypeSelector> getViewerOptionsForRepositoryType(@NotNull @NotNull String repositoryPluginKey, TaskRenderMode renderMode)
@NotNull public @NotNull List<VcsViewerUIConfigBean.VcsViewerTypeSelector> getViewerOptionsForRepositoryType(@NotNull @NotNull String repositoryPluginKey, @Nullable @Nullable VcsRepositoryViewerDefinition existingDefinition, TaskRenderMode renderMode)
public VcsViewerUIConfigBean.VcsViewerTypeSelector getViewerViewHtml(@NotNull @NotNull VcsRepositoryViewerDefinition viewerDefinition)
@Nullable public @Nullable VcsRepositoryViewerDefinition getViewerDefinitionFromActionContext(@NotNull @NotNull ActionParametersMap actionParametersMap, @NotNull @NotNull VcsRepositoryModuleDescriptor vcsRepositoryModuleDescriptor, @Nullable @Nullable VcsRepositoryViewerDefinition existingDefinition, boolean applyDefaultValues)
public void validateViewerConfiguration(ActionParametersMap actionParametersMap, ErrorCollection errorCollection)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.