public interface Extension
| Modifier and Type | Field and Description |
|---|---|
static String |
FIELD_AUTHOR |
static String |
FIELD_AUTHORS |
static String |
FIELD_CATEGORY |
static String |
FIELD_DESCRIPTION |
static String |
FIELD_FEATURE |
static String |
FIELD_FEATURES |
static String |
FIELD_ID |
static String |
FIELD_LICENSE |
static String |
FIELD_LICENSES |
static String |
FIELD_NAME |
static String |
FIELD_REPOSITORY |
static String |
FIELD_SCM |
static String |
FIELD_SUMMARY |
static String |
FIELD_TYPE |
static String |
FIELD_VERSION |
static String |
FIELD_WEBSITE |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
get(String fieldName)
Get an extension field (name, summary, id, etc.) by name.
|
Collection<ExtensionAuthor> |
getAuthors() |
String |
getCategory() |
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() |
ExtensionIssueManagement |
getIssueManagement() |
Collection<ExtensionLicense> |
getLicenses() |
String |
getName() |
Map<String,Object> |
getProperties()
Extends
Extension standard properties. |
<T> T |
getProperty(String key) |
<T> T |
getProperty(String key,
T def)
Get a property.
|
ExtensionRepository |
getRepository() |
ExtensionScm |
getScm() |
String |
getSummary() |
String |
getType() |
String |
getWebSite() |
static final String FIELD_REPOSITORY
getRepository(),
Constant Field Valuesstatic final String FIELD_ID
getId(),
Constant Field Valuesstatic final String FIELD_VERSION
getId(),
Constant Field Valuesstatic final String FIELD_FEATURE
getFeatures(),
Constant Field Valuesstatic final String FIELD_FEATURES
getFeatures(),
Constant Field Valuesstatic final String FIELD_SUMMARY
getSummary(),
Constant Field Valuesstatic final String FIELD_DESCRIPTION
getDescription(),
Constant Field Valuesstatic final String FIELD_AUTHOR
getAuthors(),
Constant Field Valuesstatic final String FIELD_AUTHORS
getAuthors(),
Constant Field Valuesstatic final String FIELD_CATEGORY
getCategory(),
Constant Field Valuesstatic final String FIELD_LICENSE
getLicenses(),
Constant Field Valuesstatic final String FIELD_LICENSES
getLicenses(),
Constant Field Valuesstatic final String FIELD_NAME
getName(),
Constant Field Valuesstatic final String FIELD_TYPE
getType(),
Constant Field Valuesstatic final String FIELD_WEBSITE
getWebSite(),
Constant Field Valuesstatic final String FIELD_SCM
getScm(),
Constant Field Values@Unstable <T> T get(String fieldName)
T - type of the field valuefieldName - the field name;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()
ExtensionScm getScm()
ExtensionIssueManagement getIssueManagement()
@Unstable String getCategory()
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.
<T> T getProperty(String key)
T - type of the property valuekey - 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–2015 XWiki. All rights reserved.