Package org.xwiki.extension.xar.script
Class DeprecatedXarExtensionScriptService
- java.lang.Object
-
- org.xwiki.extension.xar.script.DeprecatedXarExtensionScriptService
-
- All Implemented Interfaces:
org.xwiki.component.phase.Initializable
,org.xwiki.script.service.ScriptService
@Component @Named("xarextension") @Singleton @Deprecated public class DeprecatedXarExtensionScriptService extends Object implements org.xwiki.script.service.ScriptService, org.xwiki.component.phase.Initializable
Deprecated.since 5.3M1, it's a subScriptService
of the extension one now, seeXarExtensionScriptService
Various XAR oriented APIs for scripts.- Version:
- $Id: 6ad0af50e6fa604d199588898b5c537d021a30c7 $
-
-
Constructor Summary
Constructors Constructor Description DeprecatedXarExtensionScriptService()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Exception
getLastError()
Deprecated.Get the error generated while performing the previously called action.void
initialize()
Deprecated.org.xwiki.job.Job
repairInstalledExtension(String id, String version, String wiki)
Deprecated.Make sure the provided XAR extension properly is registered in the installed extensions index.
-
-
-
Method Detail
-
initialize
public void initialize() throws org.xwiki.component.phase.InitializationException
Deprecated.- Specified by:
initialize
in interfaceorg.xwiki.component.phase.Initializable
- Throws:
org.xwiki.component.phase.InitializationException
-
getLastError
public Exception getLastError()
Deprecated.Get the error generated while performing the previously called action.- Returns:
- an eventual exception or
null
if no exception was thrown
-
repairInstalledExtension
public org.xwiki.job.Job repairInstalledExtension(String id, String version, String wiki)
Deprecated.Make sure the provided XAR extension properly is registered in the installed extensions index.Start an asynchronous Job.
- Parameters:
id
- the extension identifierversion
- the extension versionwiki
- the wiki where the extension is installed- Returns:
- the
Job
object which can be used to monitor the progress of the installation process, ornull
in case of failure
-
-