public class InstallRequest extends AbstractExtensionRequest
InstallJob
.Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_EXTENSION_PROPERTIES |
PROPERTY_EXCLUDEDEXTENSIONS, PROPERTY_EXTENSIONS, PROPERTY_NAMESPACES, PROPERTY_REWRITER, PROPERTY_ROOTMODIFICATIONSALLOWED, PROPERTY_UNINSTALLALLOWED
JOBID_ACTION_PREFIX, JOBID_PLAN_PREFIX, JOBID_PREFIX
Constructor and Description |
---|
InstallRequest()
Default constructor.
|
InstallRequest(org.xwiki.job.Request request) |
Modifier and Type | Method and Description |
---|---|
void |
addExtensionProperties(Map<String,Object> properties)
Sets custom extension properties to be set on each of the extensions that are going to be installed from this
request.
|
Map<String,Object> |
getExtensionProperties() |
Object |
setExtensionProperty(String key,
Object value)
Sets a custom extension property to be set on each of the extensions that are going to be installed from this
request.
|
addExcludedExtension, addExtension, addNamespace, getExcludedExtensions, getExtensions, getNamespaces, getRewriter, hasNamespaces, isRootModificationsAllowed, isUninstallAllowed, setRewriter, setRootModificationsAllowed, setUninstallAllowed
containsProperty, equals, getContext, getId, getProperties, getProperty, getProperty, getPropertyNames, hashCode, isInteractive, isRemote, isStatusLogIsolated, isStatusSerialized, isVerbose, removeProperty, setContext, setId, setId, setId, setInteractive, setProperty, setRemote, setStatusLogIsolated, setStatusSerialized, setVerbose
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getJobId
public static final String PROPERTY_EXTENSION_PROPERTIES
getExtensionProperties()
,
Constant Field Valuespublic InstallRequest()
public InstallRequest(org.xwiki.job.Request request)
request
- the request to copypublic Map<String,Object> getExtensionProperties()
public Object setExtensionProperty(String key, Object value)
key
- the property namevalue
- the new property valuepublic void addExtensionProperties(Map<String,Object> properties)
properties
- the properties to add to custom extension propertiessetExtensionProperty(String, Object)
Copyright © 2004–2021 XWiki. All rights reserved.