com.atlassian.bamboo.repository
Class RepositoryDefinitionImpl
java.lang.Object
com.atlassian.bamboo.repository.RepositoryDataImpl
com.atlassian.bamboo.repository.RepositoryDefinitionImpl
- All Implemented Interfaces:
- BambooIdProvider, RepositoryData, RepositoryDefinition, DescriptionProvider, NameProvider, java.io.Serializable
- Direct Known Subclasses:
- DecoratedRepositoryDefinition
public class RepositoryDefinitionImpl
- extends RepositoryDataImpl
- implements RepositoryDefinition
- See Also:
- Serialized Form
Method Summary |
int |
getPosition()
Position of repository in the list of repositories defined for Plan . |
boolean |
isBuildTrigger()
Marks repositories used as build trigger as opposed to only being sources for changesets |
Methods inherited from class com.atlassian.bamboo.repository.RepositoryDataImpl |
equals, getConfiguration, getDescription, getId, getName, getPluginKey, getRepository, getWebRepositoryPluginKey, getWebRepositoryViewer, getXmlData, hashCode, isGlobal, isMarkedForDeletion |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
RepositoryDefinitionImpl
public RepositoryDefinitionImpl(long id,
java.lang.String pluginKey,
java.lang.String name,
int position,
java.lang.String description,
java.lang.String xmlData,
boolean buildTrigger,
boolean markedForDeletion,
boolean global)
RepositoryDefinitionImpl
public RepositoryDefinitionImpl(PlanRepositoryLink input)
RepositoryDefinitionImpl
public RepositoryDefinitionImpl(RepositoryDefinition repositoryDefinition)
getPosition
public int getPosition()
- Description copied from interface:
RepositoryDefinition
- Position of repository in the list of repositories defined for
Plan
.
Default repository is always on the position 0.
- Specified by:
getPosition
in interface RepositoryDefinition
- Returns:
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
Copyright © 2012 Atlassian. All Rights Reserved.