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: 90821fd4f78a1009f0e20a93aeab710af9978272 $
getExtension
Extension getExtension()
- Returns:
- the extension on which to perform the action
getPreviousExtension
InstalledExtension getPreviousExtension()
- Returns:
- the currently installed extension. 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.