com.atlassian.bamboo.repository
Interface RepositoryData

All Superinterfaces:
BambooIdProvider, DescriptionProvider, NameProvider, java.io.Serializable
All Known Subinterfaces:
RepositoryDefinition
All Known Implementing Classes:
DecoratedRepositoryDefinition, RepositoryDataImpl, RepositoryDefinitionForTest, RepositoryDefinitionImpl

@Immutable
@ThreadSafe
public interface RepositoryData
extends BambooIdProvider, DescriptionProvider, java.io.Serializable

Runtime representation of repository configuration. Can be used in BuildContext


Method Summary
 org.apache.commons.configuration.HierarchicalConfiguration getConfiguration()
           
 java.lang.String getPluginKey()
           
 Repository getRepository()
           
 java.lang.String getWebRepositoryPluginKey()
           
 WebRepositoryViewer getWebRepositoryViewer()
           
 java.lang.String getXmlData()
           
 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
 

Method Detail

getPluginKey

@NotNull
java.lang.String getPluginKey()

getWebRepositoryPluginKey

java.lang.String getWebRepositoryPluginKey()

getXmlData

@NotNull
java.lang.String getXmlData()

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 © 2012 Atlassian. All Rights Reserved.