public interface Extension extends Comparable<Extension>
compareTo
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
FIELD_EXTENSIONFEATURE
insteadgetFeatures()
,
Constant Field Valuesstatic final String FIELD_FEATURES
FIELD_EXTENSIONFEATURES
insteadgetFeatures()
,
Constant Field Valuesstatic final String FIELD_EXTENSIONFEATURE
getExtensionFeatures()
,
Constant Field Valuesstatic final String FIELD_EXTENSIONFEATURES
getExtensionFeatures()
,
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_NAMESPACES
getAllowedNamespaces()
,
Constant Field Valuesstatic final String FIELD_ALLOWEDNAMESPACE
getAllowedNamespaces()
,
Constant Field Valuesstatic final String FIELD_ALLOWEDNAMESPACES
getAllowedNamespaces()
,
Constant Field Valuesstatic final String FIELD_SCM
getScm()
,
Constant Field Valuesstatic final String FIELD_REPOSITORIES
getRepositories()
,
Constant Field Valuesstatic final String FIELD_PROPERTIES
getProperties()
,
Constant Field Valuesstatic final String FIELD_ISSUEMANAGEMENT
getIssueManagement()
,
Constant Field Valuesstatic final String FIELD_MANAGEDDEPENDENCIES
getManagedDependencies()
,
Constant Field Valuesstatic final String FIELD_DEPENDENCIES
getDependencies()
,
Constant Field Valuesstatic final String FIELD_COMPONENT
getComponents()
,
Constant Field Valuesstatic final String FIELD_COMPONENTS
getComponents()
,
Constant Field Valuesstatic final String IKEYPREFIX
<T> T get(String fieldName)
T
- type of the field valuefieldName
- the field name;ExtensionId getId()
@Deprecated Collection<String> getFeatures()
getExtensionFeatures()
insteaddefault Collection<ExtensionId> getExtensionFeatures()
ExtensionId
s also provided by this extension, an empty collection if there is nonedefault ExtensionId getExtensionFeature(String featureId)
ExtensionId
object that matches the passed feature id.featureId
- the id of the featureExtensionId
associated to the passed idString getType()
String getName()
Collection<ExtensionLicense> getLicenses()
String getSummary()
String getDescription()
String getWebSite()
Collection<ExtensionAuthor> getAuthors()
default Collection<String> getAllowedNamespaces()
Collection<ExtensionDependency> getDependencies()
default Collection<ExtensionDependency> getManagedDependencies()
ExtensionFile getFile()
ExtensionRepository getRepository()
ExtensionScm getScm()
ExtensionIssueManagement getIssueManagement()
String getCategory()
Collection<ExtensionRepositoryDescriptor> getRepositories()
default Collection<ExtensionComponent> getComponents()
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–2021 XWiki. All rights reserved.