org.xwiki.extension.wrap
Class WrappingCoreExtension<T extends CoreExtension>
java.lang.Object
org.xwiki.extension.wrap.AbstractWrappingObject<E>
org.xwiki.extension.wrap.WrappingExtension<T>
org.xwiki.extension.wrap.WrappingCoreExtension<T>
- Type Parameters:
T - the extension type
- All Implemented Interfaces:
- CoreExtension, Extension
public class WrappingCoreExtension<T extends CoreExtension>
- extends WrappingExtension<T>
- implements CoreExtension
Wrap a Core extension.
- Since:
- 4.0M1
- Version:
- $Id$
| Methods inherited from class org.xwiki.extension.wrap.WrappingExtension |
getAuthors, getDependencies, getDescription, getFeatures, getId, getLicenses, getName, getProperties, getProperty, getProperty, getRepository, getSummary, getType, getWebSite |
| Methods inherited from interface org.xwiki.extension.Extension |
getAuthors, getDependencies, getDescription, getFeatures, getId, getLicenses, getName, getProperties, getProperty, getProperty, getRepository, getSummary, getType, getWebSite |
WrappingCoreExtension
public WrappingCoreExtension(T extension)
- Parameters:
extension - the wrapped core extension
getFile
public CoreExtensionFile getFile()
- Description copied from interface:
Extension
- Return extension file descriptor. Also allows to get the content of the file.
- Specified by:
getFile in interface Extension- Overrides:
getFile in class WrappingExtension<T extends CoreExtension>
- Returns:
- the file of the extension
getURL
public URL getURL()
- Specified by:
getURL in interface CoreExtension
- Returns:
- the
URL pointing to the core extension file
isGuessed
public boolean isGuessed()
- Specified by:
isGuessed in interface CoreExtension
- 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.
Copyright © 2004-2012 XWiki. All Rights Reserved.