Package org.xwiki.extension.wrap
Class WrappingIndexedExtension<T extends IndexedExtension>
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>
org.xwiki.extension.wrap.WrappingRatingExtension<T>
org.xwiki.extension.wrap.WrappingIndexedExtension<T>
- Type Parameters:
T
- the extension type
- All Implemented Interfaces:
Comparable<Extension>
,Extension
,IndexedExtension
,Rating
,RatingExtension
,RemoteExtension
public class WrappingIndexedExtension<T extends IndexedExtension>
extends WrappingRatingExtension<T>
implements IndexedExtension
Wrap an indexed extension.
- Since:
- 12.10
- Version:
- $Id: 0ad69a4afa73f2018a603d921bf6ca7e0a3438a8 $
-
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.rating.RatingExtension
FIELD_AVERAGE_VOTE, FIELD_RATING, FIELD_TOTAL_VOTES
Fields inherited from interface org.xwiki.extension.RemoteExtension
FIELD_RECOMMENDED
-
Constructor Summary
-
Method Summary
Methods inherited from class org.xwiki.extension.wrap.WrappingRatingExtension
getRating
Methods inherited from class org.xwiki.extension.wrap.WrappingRemoteExtension
isRecommended
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
Methods inherited from interface org.xwiki.extension.RemoteExtension
isRecommended
-
Constructor Details
-
WrappingIndexedExtension
- Parameters:
localExtension
- the wrapped local extension
-
-
Method Details
-
isCompatible
- Specified by:
isCompatible
in interfaceIndexedExtension
- Parameters:
namespace
- the namespace for which to check if the extension is compatible- Returns:
- true if the extension is compatible, false if incompatible and null if unknown
-