Package org.xwiki.extension.wrap
Class WrappingLocalExtension<T extends LocalExtension>
- 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.WrappingLocalExtension<T>
-
- Type Parameters:
T
- the extension type
- All Implemented Interfaces:
Comparable<Extension>
,Extension
,LocalExtension
- Direct Known Subclasses:
WrappingInstalledExtension
public class WrappingLocalExtension<T extends LocalExtension> extends WrappingExtension<T> implements LocalExtension
Wrap a local extension.- Since:
- 4.0M1
- Version:
- $Id: d08565456b1a40d83c10fd88eb655b00356682c5 $
-
-
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.LocalExtension
PKEY_FILE
-
-
Constructor Summary
Constructors Constructor Description WrappingLocalExtension(T localExtension)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalExtensionFile
getFile()
Access the associated extension file content.-
Methods inherited from class org.xwiki.extension.wrap.AbstractWrappingExtension
compareTo, get, getAllowedNamespaces, getAuthors, getCategory, getComponents, getDependencies, getDescription, getExtensionFeature, getExtensionFeatures, getFeatures, 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, getId, getIssueManagement, getLicenses, getManagedDependencies, getName, getProperties, getProperty, getProperty, getRepositories, getRepository, getScm, getSummary, getType, getWebSite
-
-
-
-
Constructor Detail
-
WrappingLocalExtension
public WrappingLocalExtension(T localExtension)
- Parameters:
localExtension
- the wrapped local extension
-
-
Method Detail
-
getFile
public LocalExtensionFile getFile()
Description copied from interface:Extension
Access the associated extension file content.- Specified by:
getFile
in interfaceExtension
- Specified by:
getFile
in interfaceLocalExtension
- Overrides:
getFile
in classAbstractWrappingExtension<T extends LocalExtension>
- Returns:
- the file of the extension
-
-