public class DecoratedRepositoryDefinition extends Object implements RepositoryDefinition
| Constructor and Description |
|---|
DecoratedRepositoryDefinition(RepositoryData repositoryData) |
DecoratedRepositoryDefinition(RepositoryDefinition repositoryDefinition) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.configuration.HierarchicalConfiguration |
getConfiguration() |
String |
getDescription() |
long |
getId() |
com.opensymphony.webwork.dispatcher.json.JSONObject |
getJsonObject() |
String |
getName() |
Repository |
getNewRepositoryInstance() |
String |
getPluginKey() |
int |
getPosition() |
Repository |
getRepository() |
String |
getWebRepositoryPluginKey() |
WebRepositoryViewer |
getWebRepositoryViewer() |
boolean |
isGlobal() |
boolean |
isMarkedForDeletion() |
public DecoratedRepositoryDefinition(@NotNull
RepositoryData repositoryData)
public DecoratedRepositoryDefinition(@NotNull
RepositoryDefinition repositoryDefinition)
@NotNull public String getName()
getName in interface DescriptionProvidergetName in interface NameProvider@Nullable public String getDescription()
getDescription in interface DescriptionProviderpublic Repository getNewRepositoryInstance()
getNewRepositoryInstance in interface InternalRepositoryData@NotNull public String getPluginKey()
getPluginKey in interface RepositoryDatapublic String getWebRepositoryPluginKey()
getWebRepositoryPluginKey in interface RepositoryData@NotNull public Repository getRepository()
getRepository in interface RepositoryData@Nullable public WebRepositoryViewer getWebRepositoryViewer()
getWebRepositoryViewer in interface RepositoryData@NotNull public org.apache.commons.configuration.HierarchicalConfiguration getConfiguration()
getConfiguration in interface RepositoryDatapublic boolean isMarkedForDeletion()
isMarkedForDeletion in interface RepositoryDatapublic boolean isGlobal()
isGlobal in interface RepositoryDatapublic long getId()
getId in interface BambooIdProviderpublic int getPosition()
getPosition in interface RepositoryDefinition@NotNull
public com.opensymphony.webwork.dispatcher.json.JSONObject getJsonObject()
throws com.opensymphony.webwork.dispatcher.json.JSONException
com.opensymphony.webwork.dispatcher.json.JSONExceptionCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.