public class AnyVcsRepositoryViewer extends VcsRepositoryViewer
Since knowledge of internal representation of plugin data is required to properly construct this object, this class should only be used if the specialised implementation of a given credential type is not available.
Constructor and Description |
---|
AnyVcsRepositoryViewer(@NotNull AtlassianModule atlassianPlugin)
Specifies a repository viewer of given type.
|
AnyVcsRepositoryViewer(@NotNull AtlassianModuleProperties atlassianPlugin)
Specifies a repository viewer of given type.
|
AnyVcsRepositoryViewer(@NotNull String atlassianPlugin)
Specifies a repository viewer of given type.
|
Modifier and Type | Method and Description |
---|---|
protected @NotNull AnyVcsRepositoryViewerProperties |
build() |
AnyVcsRepositoryViewer |
configuration(@NotNull Map<String,Object> configuration)
Set configuration for the repository viewer.
|
public AnyVcsRepositoryViewer(@NotNull @NotNull String atlassianPlugin) throws PropertiesValidationException
atlassianPlugin
- type of the viewer identified by its plugin module keyPropertiesValidationException
AtlassianModule
public AnyVcsRepositoryViewer(@NotNull @NotNull AtlassianModule atlassianPlugin) throws PropertiesValidationException
atlassianPlugin
- type of the viewer identified by its plugin module keyPropertiesValidationException
AtlassianModule
public AnyVcsRepositoryViewer(@NotNull @NotNull AtlassianModuleProperties atlassianPlugin) throws PropertiesValidationException
atlassianPlugin
- type of the viewer identified by its plugin module keyPropertiesValidationException
AtlassianModule
public AnyVcsRepositoryViewer configuration(@NotNull @NotNull Map<String,Object> configuration) throws PropertiesValidationException
The configuration should be in the format used by respective plugin. No syntactical nor semantic validation is performed on the source data. The configuration is stored 'as is' in the Bamboo DB.
PropertiesValidationException
@NotNull protected @NotNull AnyVcsRepositoryViewerProperties build() throws PropertiesValidationException
build
in class VcsRepositoryViewer
PropertiesValidationException
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.