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 |
---|---|
VcsRepositoryViewerDefinition |
getViewerDefinitionFromActionContext(ActionParametersMap actionParametersMap,
VcsRepositoryModuleDescriptor vcsRepositoryModuleDescriptor,
VcsRepositoryViewerDefinition existingDefinition,
boolean createPlan) |
List<VcsViewerUIConfigBean.VcsViewerTypeSelector> |
getViewerOptionsForRepositoryType(String repositoryPluginKey,
TaskRenderMode renderMode) |
List<VcsViewerUIConfigBean.VcsViewerTypeSelector> |
getViewerOptionsForRepositoryType(String repositoryPluginKey,
VcsRepositoryViewerDefinition existingDefinition,
TaskRenderMode renderMode) |
VcsViewerUIConfigBean.VcsViewerTypeSelector |
getViewerViewHtml(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 String repositoryPluginKey, TaskRenderMode renderMode)
@NotNull public List<VcsViewerUIConfigBean.VcsViewerTypeSelector> getViewerOptionsForRepositoryType(@NotNull String repositoryPluginKey, @Nullable VcsRepositoryViewerDefinition existingDefinition, TaskRenderMode renderMode)
public VcsViewerUIConfigBean.VcsViewerTypeSelector getViewerViewHtml(@NotNull VcsRepositoryViewerDefinition viewerDefinition)
@Nullable public VcsRepositoryViewerDefinition getViewerDefinitionFromActionContext(@NotNull ActionParametersMap actionParametersMap, @NotNull VcsRepositoryModuleDescriptor vcsRepositoryModuleDescriptor, @Nullable VcsRepositoryViewerDefinition existingDefinition, boolean createPlan)
public void validateViewerConfiguration(ActionParametersMap actionParametersMap, ErrorCollection errorCollection)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.