Package org.xwiki.extension.wrap
Class WrappingRemoteExtension<T extends RemoteExtension>
- java.lang.Object
-
- org.xwiki.script.wrap.AbstractWrappingObject<T>
-
- org.xwiki.extension.wrap.AbstractWrappingObject<E>
-
- org.xwiki.extension.wrap.AbstractWrappingExtension<E>
-
- org.xwiki.extension.wrap.WrappingExtension<T>
-
- org.xwiki.extension.wrap.WrappingRemoteExtension<T>
-
- Type Parameters:
T
- the extension type
- All Implemented Interfaces:
Comparable<Extension>
,Extension
,RemoteExtension
- Direct Known Subclasses:
WrappingRatingExtension
public class WrappingRemoteExtension<T extends RemoteExtension> extends WrappingExtension<T> implements RemoteExtension
Wrap a remote extension.- Since:
- 8.3RC1
- Version:
- $Id: 986b5f07bf6f6b3312109cf7450d8402fad5710b $
-
-
Field Summary
-
Fields inherited from class org.xwiki.extension.wrap.AbstractWrappingExtension
overwrites
-
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
-
Fields inherited from interface org.xwiki.extension.RemoteExtension
FIELD_RECOMMENDED
-
-
Constructor Summary
Constructors Constructor Description WrappingRemoteExtension(T remoteExtension)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isRecommended()
Indicate if the extension is recommended by the repository where it come from.-
Methods inherited from class org.xwiki.extension.wrap.AbstractWrappingExtension
compareTo, 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, setOverwrite
-
Methods inherited from class org.xwiki.script.wrap.AbstractWrappingObject
equals, getWrapped, hashCode, resolveWrapped, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
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
-
-
-
-
Constructor Detail
-
WrappingRemoteExtension
public WrappingRemoteExtension(T remoteExtension)
- Parameters:
remoteExtension
- the wrapped local extension
-
-
Method Detail
-
isRecommended
public boolean isRecommended()
Description copied from interface:RemoteExtension
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.
- Specified by:
isRecommended
in interfaceRemoteExtension
- Returns:
- true if the extension is recommended
-
-