org.xwiki.extension.job.plan
Interface ExtensionPlanAction
public interface ExtensionPlanAction
An action to perform as part of an extension plan.
- Since:
- 4.0M1
- Version:
- $Id: ab0738570ecaf8e729e24e42f967c30056a1bf20 $
getExtension
Extension getExtension()
- Returns:
- the extension on which to perform the action
getPreviousExtension
@Deprecated
InstalledExtension getPreviousExtension()
- Deprecated. since 5.0RC1 used
getPreviousExtensions() instead
- Returns:
- the currently installed extension. Used when upgrading.
getPreviousExtensions
Collection<InstalledExtension> getPreviousExtensions()
- Returns:
- the currently installed extensions. Used when upgrading.
getAction
ExtensionPlanAction.Action getAction()
- Returns:
- the action to perform
getNamespace
String getNamespace()
- Returns:
- the namespace in which the action should be executed
isDependency
boolean isDependency()
- Returns:
- indicate indicate if the extension is a dependency of another one only in the plan
Copyright © 2004-2013 XWiki. All Rights Reserved.