public class RepositoryDataImpl extends Object implements RepositoryData
Constructor and Description |
---|
RepositoryDataImpl(long id,
String pluginKey,
String name,
String description,
String xmlData,
boolean markedForDeletion,
boolean global) |
RepositoryDataImpl(RepositoryData repositoryData) |
RepositoryDataImpl(RepositoryDataEntity repositoryData) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Returns true iff the objects represent the same repository
|
org.apache.commons.configuration.HierarchicalConfiguration |
getConfiguration() |
String |
getDescription() |
long |
getId() |
String |
getName() |
Repository |
getNewRepositoryInstance()
Get new instance of Repository that is not lazy-loaded.
|
String |
getPluginKey() |
Repository |
getRepository() |
String |
getWebRepositoryPluginKey() |
WebRepositoryViewer |
getWebRepositoryViewer() |
int |
hashCode() |
boolean |
isGlobal() |
boolean |
isMarkedForDeletion() |
protected Object |
readResolve() |
String |
toString() |
public RepositoryDataImpl(RepositoryDataEntity repositoryData)
repositoryData
- public RepositoryDataImpl(long id, String pluginKey, String name, String description, String xmlData, boolean markedForDeletion, boolean global)
public RepositoryDataImpl(RepositoryData repositoryData)
public long getId()
getId
in interface BambooIdProvider
@NotNull public String getPluginKey()
getPluginKey
in interface RepositoryData
@Nullable public String getWebRepositoryPluginKey()
getWebRepositoryPluginKey
in interface RepositoryData
@NotNull public String getName()
getName
in interface DescriptionProvider
getName
in interface NameProvider
public String getDescription()
getDescription
in interface DescriptionProvider
public boolean isMarkedForDeletion()
isMarkedForDeletion
in interface RepositoryData
@NotNull public Repository getRepository()
getRepository
in interface RepositoryData
Repository
defined by this object.public Repository getNewRepositoryInstance()
InternalRepositoryData
RepositoryData.getRepository()
should be preferred.getNewRepositoryInstance
in interface InternalRepositoryData
@Nullable 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 isGlobal()
isGlobal
in interface RepositoryData
public boolean equals(Object o)
protected Object readResolve()
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.