Package | Description |
---|---|
org.xwiki.extension.handler | |
org.xwiki.extension.job.plan | |
org.xwiki.extension.repository | |
org.xwiki.extension.wrap |
Modifier and Type | Method and Description |
---|---|
void |
ExtensionValidator.checkUninstall(InstalledExtension extension,
String namespace,
org.xwiki.job.Request request)
Check if uninstalling the passed extension is allowed.
|
void |
ExtensionHandler.checkUninstall(InstalledExtension extension,
String namespace,
org.xwiki.job.Request request)
Check if uninstalling the passed extension is allowed.
|
void |
ExtensionHandler.uninstall(InstalledExtension localExtension,
String namespace,
org.xwiki.job.Request request)
Uninstall the provided local extension.
|
void |
ExtensionHandlerManager.uninstall(InstalledExtension localExtension,
String namespace,
org.xwiki.job.Request request)
Uninstall the provided local extension.
|
Modifier and Type | Method and Description |
---|---|
void |
ExtensionHandler.upgrade(Collection<InstalledExtension> previousLocalExtensions,
LocalExtension newLocalExtension,
String namespace,
org.xwiki.job.Request request)
Upgrade the provided local extension.
|
void |
ExtensionHandlerManager.upgrade(Collection<InstalledExtension> previousLocalExtensions,
LocalExtension newLocalExtension,
String namespace,
org.xwiki.job.Request request)
Upgrade the provided local extension.
|
Modifier and Type | Method and Description |
---|---|
InstalledExtension |
ExtensionPlanAction.getPreviousExtension()
Deprecated.
since 5.0RC1 used
ExtensionPlanAction.getPreviousExtensions() instead |
Modifier and Type | Method and Description |
---|---|
Collection<InstalledExtension> |
ExtensionPlanAction.getPreviousExtensions() |
Modifier and Type | Method and Description |
---|---|
InstalledExtension |
InstalledExtensionRepository.getInstalledExtension(ExtensionId extensionId)
Return extension descriptor from the repository.
|
InstalledExtension |
InstalledExtensionRepository.getInstalledExtension(String feature,
String namespace)
Return the installed extension associated to the provided feature for the provided namespace (or root namespace
since namespaces inherit from root).
|
InstalledExtension |
InstalledExtensionRepository.installExtension(LocalExtension extension,
String namespace,
boolean dependency)
Indicate that the provided extension is installed in the provided namespace.
|
InstalledExtension |
InstalledExtensionRepository.installExtension(LocalExtension extension,
String namespace,
boolean dependency,
Map<String,Object> properties)
Indicate that the provided extension is installed in the specified namespace with the given properties.
|
InstalledExtension |
InstalledExtensionRepository.resolve(ExtensionDependency extensionDependency) |
InstalledExtension |
InstalledExtensionRepository.resolve(ExtensionId extensionId) |
Modifier and Type | Method and Description |
---|---|
Map<String,Collection<InstalledExtension>> |
InstalledExtensionRepository.getBackwardDependencies(ExtensionId extensionId)
Get all backward dependencies by namespace for the provided installed extension.
|
default Map<String,Collection<InstalledExtension>> |
InstalledExtensionRepository.getBackwardDependencies(ExtensionId extensionId,
boolean withOptionals)
Get all backward dependencies by namespace for the provided installed extension.
|
Collection<InstalledExtension> |
InstalledExtensionRepository.getBackwardDependencies(String feature,
String namespace)
Get provided installed extension backward dependencies in the provided namespace.
|
default Collection<InstalledExtension> |
InstalledExtensionRepository.getBackwardDependencies(String feature,
String namespace,
boolean withOptionals)
Get provided installed extension backward dependencies in the provided namespace.
|
Collection<InstalledExtension> |
InstalledExtensionRepository.getInstalledExtensions() |
Collection<InstalledExtension> |
InstalledExtensionRepository.getInstalledExtensions(String namespace)
Return all the extensions available for the provided namespace.
|
default ExtensionNode<InstalledExtension> |
InstalledExtensionRepository.getOrphanedDependencies(InstalledExtension extension,
Namespace namespace)
Create a dependency tree containing the dependencies which are not shared with other extensions.
|
default IterableResult<InstalledExtension> |
InstalledExtensionRepository.searchInstalledExtensions(Collection<String> namespaces,
ExtensionQuery query)
Search installed extensions based of the provided query and only in the passed namespaces.
|
default IterableResult<InstalledExtension> |
InstalledExtensionRepository.searchInstalledExtensions(ExtensionQuery query)
Search installed extensions based of the provided query.
|
IterableResult<InstalledExtension> |
InstalledExtensionRepository.searchInstalledExtensions(String namespace,
ExtensionQuery query)
Search installed extensions based of the provided query and only in the passed namespace.
|
IterableResult<InstalledExtension> |
InstalledExtensionRepository.searchInstalledExtensions(String pattern,
String namespace,
int offset,
int nb)
Search installed extensions based of the provided pattern and only in the passed namespace.
|
Modifier and Type | Method and Description |
---|---|
default ExtensionNode<InstalledExtension> |
InstalledExtensionRepository.getOrphanedDependencies(InstalledExtension extension,
Namespace namespace)
Create a dependency tree containing the dependencies which are not shared with other extensions.
|
void |
InstalledExtensionRepository.uninstallExtension(InstalledExtension extension,
String namespace)
Indicate that the provided extension is uninstalled from provided namespace.
|
Modifier and Type | Class and Description |
---|---|
class |
WrappingInstalledExtension<E extends InstalledExtension>
Wrap an installed extension.
|
Modifier and Type | Class and Description |
---|---|
class |
WrappingInstalledExtension<E extends InstalledExtension>
Wrap an installed extension.
|
Copyright © 2004–2021 XWiki. All rights reserved.