Class InstallRequest

java.lang.Object
org.xwiki.job.AbstractRequest
org.xwiki.extension.job.AbstractExtensionRequest
org.xwiki.extension.job.InstallRequest
All Implemented Interfaces:
Serializable, ExtensionRequest, org.xwiki.job.Request

public class InstallRequest extends AbstractExtensionRequest
Request used in InstallJob.
Since:
4.0M1
Version:
$Id: bf642ee1aa6d63ad16bac8754382882d70defc24 $
See Also:
  • Field Details

  • Constructor Details

    • InstallRequest

      public InstallRequest()
      Default constructor.
    • InstallRequest

      public InstallRequest(org.xwiki.job.Request request)
      Parameters:
      request - the request to copy
  • Method Details

    • isFailOnExist

      public boolean isFailOnExist()
      Returns:
      whether or not the wiki creation should fail if the database already exists
      Since:
      14.5
    • setFailOnExist

      public void setFailOnExist(boolean failOnExist)
      Parameters:
      failOnExist - whether or not the wiki creation should fail if the database already exists
      Since:
      14.5
    • getExtensionProperties

      public Map<String,Object> getExtensionProperties()
      Returns:
      the custom extension properties to be set on each of the extensions that are going to be installed from this request
      Since:
      7.0M2
    • setExtensionProperty

      public 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.
      Parameters:
      key - the property name
      value - the new property value
      Returns:
      the previous property value
      Since:
      7.0M2
    • addExtensionProperties

      public 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.
      Parameters:
      properties - the properties to add to custom extension properties
      Since:
      9.5RC1
      See Also: