com.atlassian.bamboo.repository
Class RepositoryDefinitionImpl
java.lang.Object
com.atlassian.bamboo.repository.RepositoryDataImpl
com.atlassian.bamboo.repository.RepositoryDefinitionImpl
- All Implemented Interfaces:
- BambooIdProvider, InternalRepositoryData, RepositoryData, RepositoryDefinition, DescriptionProvider, NameProvider, Serializable
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, getNewRepositoryInstance, getPluginKey, getRepository, getWebRepositoryPluginKey, getWebRepositoryViewer, hashCode, isGlobal, isMarkedForDeletion, toString |
RepositoryDefinitionImpl
public RepositoryDefinitionImpl(long id,
String pluginKey,
String name,
int position,
String description,
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 © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.