Package org.xwiki.extension.wrap
Class WrappingCoreExtension<T extends CoreExtension>
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.WrappingCoreExtension<T>
- Type Parameters:
T
- the extension type
- All Implemented Interfaces:
Comparable<Extension>
,CoreExtension
,Extension
public class WrappingCoreExtension<T extends CoreExtension>
extends WrappingExtension<T>
implements CoreExtension
Wrap a Core extension.
- Since:
- 4.0M1
- Version:
- $Id: 2f8739a33504f290d7efa80096c4accc55b550c5 $
-
Field Summary
Fields inherited from class org.xwiki.extension.wrap.AbstractWrappingExtension
overwrites
Fields inherited from interface org.xwiki.extension.CoreExtension
PKEY_GUESSED, PKEY_URL
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
-
Constructor Summary
-
Method Summary
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 Details
-
WrappingCoreExtension
- Parameters:
extension
- the wrapped core extension
-
-
Method Details
-
getFile
Description copied from interface:Extension
Access the associated extension file content.- Specified by:
getFile
in interfaceExtension
- Overrides:
getFile
in classAbstractWrappingExtension<T extends CoreExtension>
- Returns:
- the file of the extension
-
getURL
- Specified by:
getURL
in interfaceCoreExtension
- Returns:
- the
URL
pointing to the core extension file
-
isGuessed
public boolean isGuessed()- Specified by:
isGuessed
in interfaceCoreExtension
- Returns:
- true if the extension is "guessed" which means that it's id or version are not 100% sure. It generally indicate that a jar without any technical information or partial information has been found in the classpath.
-