com.atlassian.bamboo.repository
Class DecoratedRepositoryDefinition
java.lang.Object
com.atlassian.bamboo.repository.RepositoryDataImpl
com.atlassian.bamboo.repository.RepositoryDefinitionImpl
com.atlassian.bamboo.repository.DecoratedRepositoryDefinition
- All Implemented Interfaces:
- BambooIdProvider, RepositoryData, RepositoryDefinition, DescriptionProvider, NameProvider, java.io.Serializable
public class DecoratedRepositoryDefinition
- extends RepositoryDefinitionImpl
Decoration of repository used when displaying on the UI.
- See Also:
- Serialized Form
Method Summary |
com.opensymphony.webwork.dispatcher.json.JSONObject |
getJsonObject()
|
java.lang.String |
getName()
|
boolean |
isValid()
TODO: this convention was taken from Tasks - validate if we still need that |
Methods inherited from class com.atlassian.bamboo.repository.RepositoryDataImpl |
equals, getConfiguration, getDescription, getId, getPluginKey, getRepository, getWebRepositoryPluginKey, getWebRepositoryViewer, getXmlData, hashCode, isGlobal, isMarkedForDeletion |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
DecoratedRepositoryDefinition
public DecoratedRepositoryDefinition(@NotNull
RepositoryData repositoryData)
DecoratedRepositoryDefinition
public DecoratedRepositoryDefinition(@NotNull
RepositoryDefinition repositoryDefinition)
isValid
public boolean isValid()
- TODO: this convention was taken from Tasks - validate if we still need that
getName
@NotNull
public java.lang.String getName()
- Specified by:
getName
in interface DescriptionProvider
- Specified by:
getName
in interface NameProvider
- Overrides:
getName
in class RepositoryDataImpl
getJsonObject
@NotNull
public com.opensymphony.webwork.dispatcher.json.JSONObject getJsonObject()
throws com.opensymphony.webwork.dispatcher.json.JSONException
- Throws:
com.opensymphony.webwork.dispatcher.json.JSONException
Copyright © 2012 Atlassian. All Rights Reserved.