com.atlassian.bamboo.repository
Interface RepositoryData

All Superinterfaces:
BambooIdProvider, DescriptionProvider, InternalRepositoryData, 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, InternalRepositoryData

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()
           
 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
java.lang.String getPluginKey()

getWebRepositoryPluginKey

java.lang.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 © 2014 Atlassian Software Systems Pty Ltd. All Rights Reserved.