com.atlassian.bamboo.repository
Interface RepositoryData
- All Superinterfaces:
- BambooIdProvider, DescriptionProvider, InternalRepositoryData, NameProvider, Serializable
- All Known Subinterfaces:
- RepositoryDefinition
- All Known Implementing Classes:
- DecoratedRepositoryDefinition, RepositoryDataImpl, RepositoryDefinitionForTest, RepositoryDefinitionImpl
@Immutable
@ThreadSafe
public interface RepositoryData
- extends BambooIdProvider, DescriptionProvider, Serializable, InternalRepositoryData
Runtime representation of repository configuration. Can be used in BuildContext
getPluginKey
@NotNull
String getPluginKey()
getWebRepositoryPluginKey
String getWebRepositoryPluginKey()
getRepository
@NotNull
Repository getRepository()
- Returns:
- lazily initialized instance of the
Repository
defined by this object.
getWebRepositoryViewer
@Nullable
WebRepositoryViewer getWebRepositoryViewer()
getConfiguration
@NotNull
org.apache.commons.configuration.HierarchicalConfiguration getConfiguration()
- Returns:
- lazily initialized instance of the
HierarchicalConfiguration
of the repository defined by this
object.
isMarkedForDeletion
boolean isMarkedForDeletion()
isGlobal
boolean isGlobal()
- Returns:
- true if repository is a Shared Repository
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.