Package org.xwiki.extension
Interface RemoteExtension
-
- All Superinterfaces:
Comparable<Extension>
,Extension
- All Known Subinterfaces:
IndexedExtension
,RatingExtension
- All Known Implementing Classes:
AbstractRatingExtension
,AbstractRemoteExtension
,WrappingIndexedExtension
,WrappingRatingExtension
,WrappingRemoteExtension
public interface RemoteExtension extends Extension
An extension that come from a remote extensions repository.A remote extension repository is any repository which is not one of the repository listed in
ExtensionRepositoryManager
. It means it could be a Maven repository targeting somefile:///my/repository/path
for example.- Since:
- 8.3RC1
- Version:
- $Id: d0513235bb540484d3dc7a36def20ced0f045379 $
-
-
Field Summary
Fields Modifier and Type Field Description static String
FIELD_RECOMMENDED
-
Fields inherited from interface org.xwiki.extension.Extension
FIELD_ALLOWEDNAMESPACE, FIELD_ALLOWEDNAMESPACES, FIELD_AUTHOR, FIELD_AUTHORS, FIELD_CATEGORY, FIELD_COMPONENT, FIELD_COMPONENTS, FIELD_DEPENDENCIES, FIELD_DESCRIPTION, FIELD_EXTENSIONFEATURE, FIELD_EXTENSIONFEATURES, FIELD_FEATURE, FIELD_FEATURES, FIELD_ID, FIELD_ISSUEMANAGEMENT, FIELD_LICENSE, FIELD_LICENSES, FIELD_MANAGEDDEPENDENCIES, FIELD_NAME, FIELD_NAMESPACES, FIELD_PROPERTIES, FIELD_REPOSITORIES, FIELD_REPOSITORY, FIELD_SCM, FIELD_SUMMARY, FIELD_TYPE, FIELD_VERSION, FIELD_WEBSITE, IKEYPREFIX
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default boolean
isRecommended()
Indicate if the extension is recommended by the repository where it come from.-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface org.xwiki.extension.Extension
get, getAllowedNamespaces, getAuthors, getCategory, getComponents, getDependencies, getDescription, getExtensionFeature, getExtensionFeatures, getFeatures, getFile, getId, getIssueManagement, getLicenses, getManagedDependencies, getName, getProperties, getProperty, getProperty, getRepositories, getRepository, getScm, getSummary, getType, getWebSite
-
-
-
-
Field Detail
-
FIELD_RECOMMENDED
static final String FIELD_RECOMMENDED
- See Also:
isRecommended()
, Constant Field Values
-
-
Method Detail
-
isRecommended
default boolean isRecommended()
Indicate if the extension is recommended by the repository where it come from.What "recommended" exactly means depend on the repository giving this information.
For example on http://extensions.xwiki.org the meaning is the extension is known to be of good quality and still officially supported by its author.
- Returns:
- true if the extension is recommended
-
-