public interface Extension
| Modifier and Type | Method and Description |
|---|---|
Collection<ExtensionAuthor> |
getAuthors() |
Collection<? extends ExtensionDependency> |
getDependencies() |
String |
getDescription() |
Collection<String> |
getFeatures()
The idea is to indicate in an extension a list of provided "functionalities".
|
ExtensionFile |
getFile()
Return extension file descriptor.
|
ExtensionId |
getId() |
Collection<ExtensionLicense> |
getLicenses() |
String |
getName() |
Map<String,Object> |
getProperties()
Extends
Extension standard properties. |
Object |
getProperty(String key) |
<T> T |
getProperty(String key,
T def)
Get a property.
|
ExtensionRepository |
getRepository() |
String |
getSummary() |
String |
getType() |
String |
getWebSite() |
ExtensionId getId()
Collection<String> getFeatures()
String getType()
String getName()
Collection<ExtensionLicense> getLicenses()
String getSummary()
String getDescription()
String getWebSite()
Collection<ExtensionAuthor> getAuthors()
Collection<? extends ExtensionDependency> getDependencies()
ExtensionFile getFile()
ExtensionRepository getRepository()
Map<String,Object> getProperties()
Extension standard properties.
Theses are generally provided by specific repositories. For example a maven repository will provide group and artifacts ids.
Object getProperty(String key)
key - the property key<T> T getProperty(String key, T def)
T - type of the property valuekey - the property keydef - the value to return if no property is associated to the provided keydefault of the property is not foundgetProperty(String)Copyright © 2004–2014 XWiki. All rights reserved.