org.xwiki.extension
Interface CoreExtension

All Superinterfaces:
Extension
All Known Implementing Classes:
WrappingCoreExtension

public interface CoreExtension
extends Extension

Represent an extension which can't be modified (uninstalled, upgraded).

In practice it's generally all the jars already in the classpath at startup.

Since:
4.0M1
Version:
$Id$

Field Summary
static String PKEY_GUESSED
           
static String PKEY_URL
           
 
Method Summary
 URL getURL()
           
 boolean isGuessed()
           
 
Methods inherited from interface org.xwiki.extension.Extension
getAuthors, getDependencies, getDescription, getFeatures, getFile, getId, getLicenses, getName, getProperties, getProperty, getProperty, getRepository, getSummary, getType, getWebSite
 

Field Detail

PKEY_URL

static final String PKEY_URL
See Also:
getURL(), Constant Field Values

PKEY_GUESSED

static final String PKEY_GUESSED
See Also:
isGuessed(), Constant Field Values
Method Detail

getURL

URL getURL()
Returns:
the URL pointing to the core extension file

isGuessed

boolean isGuessed()
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.