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:
-
Constructor Summary
ConstructorsConstructorDescriptionPlanRepositoryDefinitionImpl(@NotNull EnvironmentRepositoryLink planRepositoryLink, @NotNull PartialVcsRepositoryData source) PlanRepositoryDefinitionImpl(@NotNull PlanRepositoryLink planRepositoryLink, @NotNull PartialVcsRepositoryData source) -
Method Summary
Modifier and TypeMethodDescriptionstatic PlanRepositoryDefinitioncreateForPosition(@NotNull VcsRepositoryData other, int position) intPosition of repository in the list of repositories defined forPlan.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, isSharedMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getIdMethods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider
getDescription, getNameMethods inherited from interface com.atlassian.bamboo.core.ImmutableEntityWithOid
getOidMethods inherited from interface com.atlassian.bamboo.plugin.PluginKeyProvider
getPluginKeyMethods 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, isSharedMethods inherited from interface com.atlassian.bamboo.versioning.Versionable
getVersion
-
Constructor Details
-
PlanRepositoryDefinitionImpl
public PlanRepositoryDefinitionImpl(@NotNull @NotNull PlanRepositoryLink planRepositoryLink, @NotNull @NotNull PartialVcsRepositoryData source) -
PlanRepositoryDefinitionImpl
public PlanRepositoryDefinitionImpl(@NotNull @NotNull EnvironmentRepositoryLink planRepositoryLink, @NotNull @NotNull PartialVcsRepositoryData source)
-
-
Method Details
-
createForPosition
public static PlanRepositoryDefinition createForPosition(@NotNull @NotNull VcsRepositoryData other, int position) -
getPosition
public int getPosition()Description copied from interface:RepositoryPositionProviderPosition of repository in the list of repositories defined forPlan. Default repository is always on the position 0.- Specified by:
getPositionin interfaceRepositoryPositionProvider- Returns:
-
toString
-