Class InstallRequest

    • Constructor Detail

      • InstallRequest

        public InstallRequest()
        Default constructor.
      • InstallRequest

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

      • 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:
        setExtensionProperty(String, Object)