public class ExportDescriptor extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ExportDescriptor.Source |
Constructor and Description |
---|
ExportDescriptor()
Construct a new ExportDescriptor, most likely with the intention of writing it out.
|
public ExportDescriptor()
getExportDescriptor(File)
.public static ExportDescriptor getExportDescriptor(File exportZip) throws UnexpectedImportZipFileContents, ImportExportException
public static ExportDescriptor getExportDescriptor(Unzipper unzipper) throws UnexpectedImportZipFileContents, ImportExportException, IOException
public Properties getProperties()
public ExportScope getScope() throws ExportScope.IllegalExportScopeException
public void setScope(ExportScope scope)
public BuildNumber getBuildNumber()
public void setBuildNumber(String buildNumber)
public void setPluginExportCompatibility(Map<String,PluginExportCompatibility> compatibility)
public static Map<String,PluginExportCompatibility> getPluginExportCompatibility(Properties properties)
public String getSpaceKey()
public void setSpaceKey(String spaceKey)
public boolean isSpaceImport()
public boolean isSiteImport()
public void setBackupAttachments(boolean exportAttachments)
public boolean getBackupAttachments()
public void saveToOutputStream(OutputStream outputStream) throws IOException
IOException
public void setCreatedByBuildNumber(String buildNumber)
public BuildNumber getCreatedByBuildNumber()
public void setDefaultUserGroup(String defaultUsersGroup)
public String getDefaultUserGroup()
public void setVersionNumber(String versionNumber)
public String getVersionNumber()
public void setSource(ExportDescriptor.Source source)
public ExportDescriptor.Source getSource()
Copyright © 2003–2017 Atlassian. All rights reserved.