org.xwiki.extension
Interface LocalExtension

All Superinterfaces:
Extension
All Known Subinterfaces:
InstalledExtension
All Known Implementing Classes:
WrappingInstalledExtension, WrappingLocalExtension

public interface LocalExtension
extends Extension

Represent a local extension.

A local extension is an extension generally downloaded from a remote repository and now stored in the local repository.

Since:
4.0M1
Version:
$Id$

Field Summary
static String PKEY_FILE
          Custom property key containing getFile().
 
Method Summary
 LocalExtensionFile getFile()
          Return extension file descriptor.
 
Methods inherited from interface org.xwiki.extension.Extension
getAuthors, getDependencies, getDescription, getFeatures, getId, getLicenses, getName, getProperties, getProperty, getProperty, getRepository, getSummary, getType, getWebSite
 

Field Detail

PKEY_FILE

static final String PKEY_FILE
Custom property key containing getFile().

See Also:
Constant Field Values
Method Detail

getFile

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
Returns:
the file of the extension


Copyright © 2004-2012 XWiki. All Rights Reserved.