public class ExportDescriptor extends Object
Constructor and Description |
---|
ExportDescriptor()
Construct a new ExportDescriptor, most likely with the intention of writing it out.
|
Modifier and Type | Method and Description |
---|---|
BuildNumber |
getBuildNumber()
Get the BuildNumber specified in the exportDescriptor properties file.
|
BuildNumber |
getCreatedByBuildNumber()
Get the CreatedByBuildNumber specified in the exportDescriptor properties file.
|
String |
getDefaultUserGroup() |
static ExportDescriptor |
getExportDescriptor(File exportZip) |
static Map<String,PluginExportCompatibility> |
getPluginExportCompatibility(Properties properties) |
Properties |
getProperties() |
ExportScope |
getScope() |
String |
getSpaceKey() |
boolean |
isSpaceImport() |
void |
setBackupAttachments(boolean exportAttachments) |
void |
setBuildNumber(String buildNumber) |
void |
setCreatedByBuildNumber(String buildNumber) |
void |
setDefaultUserGroup(String defaultUsersGroup) |
void |
setPluginExportCompatibility(Map<String,PluginExportCompatibility> compatibility) |
void |
setScope(ExportScope scope) |
void |
setSpaceKey(String spaceKey) |
public ExportDescriptor()
getExportDescriptor(File)
.public static ExportDescriptor getExportDescriptor(File exportZip) throws UnexpectedImportZipFileContents, ImportExportException
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 void setBackupAttachments(boolean exportAttachments)
public void setCreatedByBuildNumber(String buildNumber)
public BuildNumber getCreatedByBuildNumber()
public void setDefaultUserGroup(String defaultUsersGroup)
public String getDefaultUserGroup()
Copyright © 2003–2015 Atlassian. All rights reserved.