Class PlanRepositoryDefinitionImpl
- java.lang.Object
-
- com.atlassian.bamboo.vcs.configuration.VcsRepositoryDataImpl
-
- com.atlassian.bamboo.vcs.configuration.PlanRepositoryDefinitionImpl
-
- All Implemented Interfaces:
BambooIdProvider
,ImmutableEntityWithOid
,ProjectIdProvider
,PluginKeyProvider
,DescriptionProvider
,NameProvider
,PlanRepositoryDefinition
,RepositoryPositionProvider
,VcsRepositoryData
,Versionable
,Serializable
public class PlanRepositoryDefinitionImpl extends VcsRepositoryDataImpl implements PlanRepositoryDefinition
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PlanRepositoryDefinitionImpl(@NotNull EnvironmentRepositoryLink planRepositoryLink, @NotNull PartialVcsRepositoryData source)
PlanRepositoryDefinitionImpl(@NotNull PlanRepositoryLink planRepositoryLink, @NotNull PartialVcsRepositoryData source)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PlanRepositoryDefinition
createForPosition(@NotNull VcsRepositoryData other, int position)
int
getPosition()
Position of repository in the list of repositories defined forPlan
.String
toString()
-
Methods inherited from class com.atlassian.bamboo.vcs.configuration.VcsRepositoryDataImpl
asLegacyData, equals, getBambooSpecsDetectionOptions, getBranch, getDescription, getId, getName, getOid, getParentId, getParentOid, getPluginKey, getProjectId, getRootVcsRepositoryId, getVcsBranchDetectionOptions, getVcsChangeDetectionOptions, getVcsLocation, getVersion, getViewerConfiguration, hashCode, isLegacyRepository, isLinked, isMarkedForDeletion, isRootVcsLinked, isRootVcsProject, isRootVcsShared, isShared
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
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.core.ImmutableEntityWithOid
getOid
-
Methods inherited from interface com.atlassian.bamboo.plugin.PluginKeyProvider
getPluginKey
-
Methods inherited from interface com.atlassian.bamboo.vcs.configuration.VcsRepositoryData
asLegacyData, getBambooSpecsDetectionOptions, getBranch, getEntityType, getParentId, getParentOid, getProjectId, getRootVcsRepositoryId, getVcsBranchDetectionOptions, getVcsChangeDetectionOptions, getVcsLocation, getViewerConfiguration, isLegacyRepository, isLinked, isMarkedForDeletion, isRootVcsLinked, isRootVcsProject, isRootVcsShared, isShared
-
Methods inherited from interface com.atlassian.bamboo.versioning.Versionable
getVersion
-
-
-
-
Constructor Detail
-
PlanRepositoryDefinitionImpl
public PlanRepositoryDefinitionImpl(@NotNull @NotNull PlanRepositoryLink planRepositoryLink, @NotNull @NotNull PartialVcsRepositoryData source)
-
PlanRepositoryDefinitionImpl
public PlanRepositoryDefinitionImpl(@NotNull @NotNull EnvironmentRepositoryLink planRepositoryLink, @NotNull @NotNull PartialVcsRepositoryData source)
-
-
Method Detail
-
createForPosition
public static PlanRepositoryDefinition createForPosition(@NotNull @NotNull VcsRepositoryData other, int position)
-
getPosition
public int getPosition()
Description copied from interface:RepositoryPositionProvider
Position of repository in the list of repositories defined forPlan
. Default repository is always on the position 0.- Specified by:
getPosition
in interfaceRepositoryPositionProvider
- Returns:
-
-