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 |
---|---|
org.apache.commons.configuration.HierarchicalConfiguration |
getConfiguration() |
String |
getDescription() |
long |
getId() |
String |
getName() |
Repository |
getNewRepositoryInstance()
Get new instance of Repository that is not lazy-loaded.
|
BambooEntityOid |
getOid()
OID assigned to this object.
|
VcsRepositoryData |
getOriginalData() |
String |
getPluginKey() |
Repository |
getRepository() |
String |
getWebRepositoryPluginKey() |
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 String getPluginKey()
getPluginKey
in interface PluginKeyProvider
@NotNull public String getWebRepositoryPluginKey()
getWebRepositoryPluginKey
in interface RepositoryData
@NotNull public Repository getRepository()
getRepository
in interface RepositoryData
Repository
defined by this object.@NotNull public WebRepositoryViewer getWebRepositoryViewer()
getWebRepositoryViewer
in interface RepositoryData
@NotNull public 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 String getName()
getName
in interface DescriptionProvider
getName
in interface NameProvider
@Nullable public String getDescription()
getDescription
in interface DescriptionProvider
public VcsRepositoryData getOriginalData()
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.