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(AtlassianModule atlassianPlugin)
Specifies a repository viewer of given type.
|
AnyVcsRepositoryViewer(AtlassianModuleProperties atlassianPlugin)
Specifies a repository viewer of given type.
|
AnyVcsRepositoryViewer(String atlassianPlugin)
Specifies a repository viewer of given type.
|
Modifier and Type | Method and Description |
---|---|
protected AnyVcsRepositoryViewerProperties |
build() |
AnyVcsRepositoryViewer |
configuration(Map<String,Object> configuration)
Set configuration for the repository viewer.
|
public AnyVcsRepositoryViewer(@NotNull String atlassianPlugin) throws PropertiesValidationException
atlassianPlugin
- type of the viewer identified by its plugin module keyPropertiesValidationException
AtlassianModule
public AnyVcsRepositoryViewer(@NotNull AtlassianModule atlassianPlugin) throws PropertiesValidationException
atlassianPlugin
- type of the viewer identified by its plugin module keyPropertiesValidationException
AtlassianModule
public AnyVcsRepositoryViewer(@NotNull AtlassianModuleProperties atlassianPlugin) throws PropertiesValidationException
atlassianPlugin
- type of the viewer identified by its plugin module keyPropertiesValidationException
AtlassianModule
public AnyVcsRepositoryViewer configuration(@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 AnyVcsRepositoryViewerProperties build() throws PropertiesValidationException
build
in class VcsRepositoryViewer
PropertiesValidationException
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.