org.xwiki.wikistream.xar.output
Class XAROutputProperties
java.lang.Object
org.xwiki.wikistream.DefaultWikiStreamProperties
org.xwiki.wikistream.xml.XMLProperties
org.xwiki.wikistream.xml.output.XMLOutputProperties
org.xwiki.wikistream.xar.output.XAROutputProperties
- All Implemented Interfaces:
- org.xwiki.wikistream.WikiStreamProperties
@Unstable
public class XAROutputProperties
- extends XMLOutputProperties
XAR output properties.
- Since:
- 5.3RC1
- Version:
- $Id: fa0bcb09fde5544896982a703470c4e09f3fa88d $
| Methods inherited from class org.xwiki.wikistream.DefaultWikiStreamProperties |
isVerbose, setVerbose |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XAROutputProperties
public XAROutputProperties()
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
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
Copyright © 2004–2014 XWiki. All rights reserved.