org.xwiki.extension.wrap
Class WrappingLocalExtension<T extends LocalExtension>

java.lang.Object
  extended by org.xwiki.extension.wrap.AbstractWrappingObject<E>
      extended by org.xwiki.extension.wrap.WrappingExtension<T>
          extended by org.xwiki.extension.wrap.WrappingLocalExtension<T>
Type Parameters:
T - the extension type
All Implemented Interfaces:
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$

Field Summary
 
Fields inherited from interface org.xwiki.extension.LocalExtension
PKEY_FILE
 
Constructor Summary
WrappingLocalExtension(T localExtension)
           
 
Method Summary
 LocalExtensionFile getFile()
          Return extension file descriptor.
 
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 class org.xwiki.extension.wrap.AbstractWrappingObject
equals, getWrapped, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.xwiki.extension.Extension
getAuthors, getDependencies, getDescription, getFeatures, getId, getLicenses, getName, getProperties, getProperty, getProperty, getRepository, 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
Return extension file descriptor. Also allows to get the content of the file.

Specified by:
getFile in interface Extension
Specified by:
getFile in interface LocalExtension
Overrides:
getFile in class WrappingExtension<T extends LocalExtension>
Returns:
the file of the extension


Copyright © 2004-2012 XWiki. All Rights Reserved.