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
Methods inherited from class com.atlassian.bamboo.repository.RepositoryDataImpl |
equals, getConfiguration, getDescription, getId, getName, getPluginKey, getRepository, getWebRepositoryPluginKey, getWebRepositoryViewer, getXmlData, hashCode, isGlobal, isMarkedForDeletion, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, 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 markedForDeletion,
boolean global)
RepositoryDefinitionImpl
public RepositoryDefinitionImpl(PlanRepositoryLink input)
RepositoryDefinitionImpl
public RepositoryDefinitionImpl(EnvironmentRepositoryLink input)
RepositoryDefinitionImpl
public RepositoryDefinitionImpl(RepositoryDefinition repositoryDefinition)
- Construct copy of RepositoryDefinition with id set to -1. (i.e. clone repository)
- Parameters:
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:
fromRepositoryLink
public static com.google.common.base.Function<PlanRepositoryLink,RepositoryDefinitionImpl> fromRepositoryLink()
fromEnvironmentRepositoryLink
public static com.google.common.base.Function<EnvironmentRepositoryLink,RepositoryDefinitionImpl> fromEnvironmentRepositoryLink()
Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.