public class RepositoryDataImpl extends Object implements RepositoryData
Constructor and Description |
---|
RepositoryDataImpl(RepositoryDataEntity entity)
Deprecated.
since 5.14 use
RepositoryDataImpl(VcsRepositoryData) |
RepositoryDataImpl(VcsRepositoryData delegate) |
Modifier and Type | Method and Description |
---|---|
@NotNull org.apache.commons.configuration.HierarchicalConfiguration |
getConfiguration() |
@Nullable String |
getDescription() |
long |
getId() |
@NotNull String |
getName() |
Repository |
getNewRepositoryInstance()
Get new instance of Repository that is not lazy-loaded.
|
BambooEntityOid |
getOid()
OID assigned to this object.
|
VcsRepositoryData |
getOriginalData() |
@NotNull String |
getPluginKey() |
@NotNull Repository |
getRepository() |
@NotNull String |
getWebRepositoryPluginKey() |
@NotNull WebRepositoryViewer |
getWebRepositoryViewer() |
boolean |
isGlobal() |
boolean |
isMarkedForDeletion() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEntityType
@Deprecated public RepositoryDataImpl(RepositoryDataEntity entity)
RepositoryDataImpl(VcsRepositoryData)
public RepositoryDataImpl(VcsRepositoryData delegate)
@NotNull public @NotNull String getPluginKey()
getPluginKey
in interface PluginKeyProvider
@NotNull public @NotNull String getWebRepositoryPluginKey()
getWebRepositoryPluginKey
in interface RepositoryData
@NotNull public @NotNull Repository getRepository()
getRepository
in interface RepositoryData
Repository
defined by this object.@NotNull public @NotNull WebRepositoryViewer getWebRepositoryViewer()
getWebRepositoryViewer
in interface RepositoryData
@NotNull public @NotNull org.apache.commons.configuration.HierarchicalConfiguration getConfiguration()
getConfiguration
in interface RepositoryData
HierarchicalConfiguration
of the repository defined by this
object.public boolean isMarkedForDeletion()
isMarkedForDeletion
in interface RepositoryData
public boolean isGlobal()
isGlobal
in interface RepositoryData
public long getId()
getId
in interface BambooIdProvider
public BambooEntityOid getOid()
ImmutableEntityWithOid
BambooEntityOid.getEntityType()
should be the same as this object's
ImmutableEntityWithOid.getEntityType()
.getOid
in interface ImmutableEntityWithOid
public Repository getNewRepositoryInstance()
InternalRepositoryData
RepositoryData.getRepository()
should be preferred.getNewRepositoryInstance
in interface InternalRepositoryData
@NotNull public @NotNull String getName()
getName
in interface DescriptionProvider
getName
in interface NameProvider
@Nullable public @Nullable String getDescription()
getDescription
in interface DescriptionProvider
public VcsRepositoryData getOriginalData()
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.