com.atlassian.bamboo.repository
Class RepositoryDefinitionForTest
java.lang.Object
com.atlassian.bamboo.repository.RepositoryDefinitionForTest
- All Implemented Interfaces:
- RepositoryDefinition, DescriptionProvider, NameProvider, java.io.Serializable
public class RepositoryDefinitionForTest
- extends java.lang.Object
- implements RepositoryDefinition
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepositoryDefinitionForTest
public RepositoryDefinitionForTest(Repository repository,
WebRepositoryViewer webRepositoryViewer)
getId
public long getId()
- Specified by:
getId
in interface RepositoryDefinition
- Returns:
- DB id
getPluginKey
@NotNull
public java.lang.String getPluginKey()
- Specified by:
getPluginKey
in interface RepositoryDefinition
getWebRepositoryPluginKey
public java.lang.String getWebRepositoryPluginKey()
- Specified by:
getWebRepositoryPluginKey
in interface RepositoryDefinition
isBuildTrigger
public boolean isBuildTrigger()
- Description copied from interface:
RepositoryDefinition
- Marks repositories used as build trigger as opposed to only being sources for changesets
- Specified by:
isBuildTrigger
in interface RepositoryDefinition
getXmlData
@NotNull
public java.lang.String getXmlData()
- Specified by:
getXmlData
in interface RepositoryDefinition
getRepository
@NotNull
public Repository getRepository()
- Specified by:
getRepository
in interface RepositoryDefinition
- Returns:
- lazily initialized instance of the
Repository
defined by this object.
getWebRepositoryViewer
public WebRepositoryViewer getWebRepositoryViewer()
- Specified by:
getWebRepositoryViewer
in interface RepositoryDefinition
getConfiguration
@NotNull
public org.apache.commons.configuration.HierarchicalConfiguration getConfiguration()
- Specified by:
getConfiguration
in interface RepositoryDefinition
- Returns:
- lazily initialized instance of the
HierarchicalConfiguration
of the repository defined by this object.
getPosition
public int getPosition()
- Specified by:
getPosition
in interface RepositoryDefinition
isMarkedForDeletion
public boolean isMarkedForDeletion()
- Specified by:
isMarkedForDeletion
in interface RepositoryDefinition
getName
@NotNull
public java.lang.String getName()
- Specified by:
getName
in interface DescriptionProvider
- Specified by:
getName
in interface NameProvider
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interface DescriptionProvider
Copyright © 2011 Atlassian. All Rights Reserved.