ScriptService
of the extension one now, see
XarExtensionScriptService
@Component @Named(value="xarextension") @Singleton @Deprecated public class DeprecatedXarExtensionScriptService extends Object implements org.xwiki.script.service.ScriptService, org.xwiki.component.phase.Initializable
Constructor and Description |
---|
DeprecatedXarExtensionScriptService()
Deprecated.
|
Modifier and Type | Method and 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.
|
public DeprecatedXarExtensionScriptService()
public void initialize() throws org.xwiki.component.phase.InitializationException
initialize
in interface org.xwiki.component.phase.Initializable
org.xwiki.component.phase.InitializationException
public Exception getLastError()
null
if no exception was thrownpublic org.xwiki.job.Job repairInstalledExtension(String id, String version, String wiki)
Start an asynchronous Job.
id
- the extension identifierversion
- the extension versionwiki
- the wiki where the extension is installedJob
object which can be used to monitor the progress of the installation process, or
null
in case of failureCopyright © 2004–2022 XWiki. All rights reserved.