Class XAROutputProperties

  • All Implemented Interfaces:
    org.xwiki.filter.FilterStreamProperties

    public class XAROutputProperties
    extends org.xwiki.filter.xml.output.XMLOutputProperties
    XAR output properties.
    Since:
    6.2M1
    Version:
    $Id: 61f3a37418c507a45b385876313df100f6c8f51f $
    • Constructor Detail

      • XAROutputProperties

        public XAROutputProperties()
    • Method Detail

      • isPreserveVersion

        public boolean isPreserveVersion()
        Returns:
        Indicate if all revisions related informations should be serialized
      • setPreserveVersion

        public void setPreserveVersion​(boolean preserveVersion)
        Parameters:
        preserveVersion - Indicate if all revisions related informations should be serialized
      • isForceDocument

        public boolean isForceDocument()
        Returns:
        true if a unique document should be serialized instead of a XAR package
      • setForceDocument

        public void setForceDocument​(boolean forceDocument)
        Parameters:
        forceDocument - true if a unique document should be serialized instead of a XAR package
      • isOptimized

        public boolean isOptimized()
        Returns:
        true if the output filter should try to optimize the generated XAR to reduce its size
        Since:
        12.0RC1
      • setOptimized

        public void setOptimized​(boolean optimized)
        Parameters:
        optimized - true if the output filter should try to optimize the generated XAR to reduce its size
        Since:
        12.0RC1
      • getPackageName

        public String getPackageName()
        Returns:
        Indicate if all revisions related informations should be serialized
      • setPackageName

        public void setPackageName​(String packageName)
        Parameters:
        packageName - Indicate if all revisions related informations should be serialized
      • getPackageDescription

        public String getPackageDescription()
        Returns:
        The description to put in package.xml
      • setPackageDescription

        public void setPackageDescription​(String packageDescription)
        Parameters:
        packageDescription - The description to put in package.xml
      • getPackageLicense

        public String getPackageLicense()
        Returns:
        "The licence to put in package.xml
      • setPackageLicense

        public void setPackageLicense​(String packageLicense)
        Parameters:
        packageLicense - "The licence to put in package.xml
      • getPackageAuthor

        public String getPackageAuthor()
        Returns:
        The author to put in package.xml
      • setPackageAuthor

        public void setPackageAuthor​(String packageAuthor)
        Parameters:
        packageAuthor - The author to put in package.xml
      • getPackageVersion

        public String getPackageVersion()
        Returns:
        The version to put in package.xml
      • setPackageVersion

        public void setPackageVersion​(String packageVersion)
        Parameters:
        packageVersion - The version to put in package.xml
      • isPackageBackupPack

        public boolean isPackageBackupPack()
        Returns:
        Indicate in package.xml if the XAR is a backup pack
      • setPackageBackupPack

        public void setPackageBackupPack​(boolean packageBackupPack)
        Parameters:
        packageBackupPack - Indicate in package.xml if the XAR is a backup pack
      • getPackageExtensionId

        public String getPackageExtensionId()
        Returns:
        the id of the extension the XAR contains
      • setPackageExtensionId

        public void setPackageExtensionId​(String packageExtensionId)
        Parameters:
        packageExtensionId - the id of the extension the XAR contains