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


Method Summary
 org.apache.commons.configuration.HierarchicalConfiguration getConfiguration()
           
 String getPluginKey()
           
 Repository getRepository()
           
 String getWebRepositoryPluginKey()
           
 WebRepositoryViewer getWebRepositoryViewer()
           
 boolean isGlobal()
           
 boolean isMarkedForDeletion()
           
 
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
 
Methods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider
getDescription, getName
 
Methods inherited from interface com.atlassian.bamboo.repository.InternalRepositoryData
getNewRepositoryInstance
 

Method Detail

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.