public interface ExtensionRequest
extends org.xwiki.job.Request
Request
.Modifier and Type | Field and Description |
---|---|
static String |
JOBID_ACTION_PREFIX
The prefix put behind all job ids which are actual actions.
|
static String |
JOBID_PLAN_PREFIX
The prefix put behind all job ids which are information gathering.
|
static String |
JOBID_PREFIX
The prefix put behind all job ids.
|
Modifier and Type | Method and Description |
---|---|
Collection<ExtensionId> |
getExtensions() |
static List<String> |
getJobId(String prefix,
String extensionId,
String namespace) |
Collection<String> |
getNamespaces() |
default ExtensionRewriter |
getRewriter()
Allow modifying manipulated
Extension s on the fly (change allowed namespaces, dependencies, etc.). |
boolean |
hasNamespaces() |
default boolean |
isRootModificationsAllowed() |
default boolean |
isUninstallAllowed() |
static final String JOBID_PREFIX
static final String JOBID_ACTION_PREFIX
static final String JOBID_PLAN_PREFIX
static List<String> getJobId(String prefix, String extensionId, String namespace)
prefix
- the prefix, usually JOBID_ACTION_PREFIX
or
JOBID_PLAN_PREFIX
extensionId
- the id of the extension for which to create a job idnamespace
- the namespace for which to create a job idCollection<ExtensionId> getExtensions()
Collection<String> getNamespaces()
boolean hasNamespaces()
default boolean isRootModificationsAllowed()
default ExtensionRewriter getRewriter()
Extension
s on the fly (change allowed namespaces, dependencies, etc.).default boolean isUninstallAllowed()
Copyright © 2004–2021 XWiki. All rights reserved.