Class VcsViewerUIConfigBean
- java.lang.Object
-
- com.atlassian.bamboo.configuration.repository.VcsViewerUIConfigBean
-
public class VcsViewerUIConfigBean extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VcsViewerUIConfigBean.VcsViewerTypeSelector
-
Field Summary
Fields Modifier and Type Field Description static VcsViewerUIConfigBean.VcsViewerTypeSelector
NO_VIEWER
static String
SELECTED_VIEWER
-
Constructor Summary
Constructors Constructor Description VcsViewerUIConfigBean(VcsRepositoryViewerManager viewerManager, TemplateRenderer templateRenderer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable VcsRepositoryViewerDefinition
getViewerDefinitionFromActionContext(@NotNull ActionParametersMap actionParametersMap, @NotNull VcsRepositoryModuleDescriptor vcsRepositoryModuleDescriptor, @Nullable VcsRepositoryViewerDefinition existingDefinition, boolean applyDefaultValues)
@NotNull List<VcsViewerUIConfigBean.VcsViewerTypeSelector>
getViewerOptionsForRepositoryType(@NotNull String repositoryPluginKey, @Nullable VcsRepositoryViewerDefinition existingDefinition, TaskRenderMode renderMode)
List<VcsViewerUIConfigBean.VcsViewerTypeSelector>
getViewerOptionsForRepositoryType(@NotNull String repositoryPluginKey, TaskRenderMode renderMode)
VcsViewerUIConfigBean.VcsViewerTypeSelector
getViewerViewHtml(@NotNull VcsRepositoryViewerDefinition viewerDefinition)
void
validateViewerConfiguration(ActionParametersMap actionParametersMap, ErrorCollection errorCollection)
-
-
-
Field Detail
-
SELECTED_VIEWER
public static final String SELECTED_VIEWER
- See Also:
- Constant Field Values
-
NO_VIEWER
public static final VcsViewerUIConfigBean.VcsViewerTypeSelector NO_VIEWER
-
-
Constructor Detail
-
VcsViewerUIConfigBean
public VcsViewerUIConfigBean(VcsRepositoryViewerManager viewerManager, TemplateRenderer templateRenderer)
-
-
Method Detail
-
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)
-
-