public class ProjectImportOptionsImpl extends Object implements ProjectImportOptions
| Constructor and Description |
|---|
ProjectImportOptionsImpl(String pathToBackupZip,
String attachmentPath) |
ProjectImportOptionsImpl(String pathToBackupZip,
String attachmentPath,
boolean overwriteProjectDetails) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttachmentPath()
Specifies the path, on disk on the server, to the directory that will contain the attachments for the project data
that will be restored.
|
String |
getPathToBackup()
Specifies the path, on disk on the server, to the backup data file that will contain the project data
that will be restored.
|
String |
getSelectedProjectKey()
The project key that the user has chosen to import.
|
boolean |
overwriteProjectDetails()
A boolean that indicates if the user wants the existing JIRA project, which is being imported into, to have
its project details (name, lead, etc) over-written by the backup projects data.
|
void |
setOverwriteProjectDetails(boolean overwriteProjectDetails) |
void |
setSelectedProjectKey(String selectedProjectKey) |
public ProjectImportOptionsImpl(String pathToBackupZip, String attachmentPath)
public String getPathToBackup()
ProjectImportOptionsgetPathToBackup in interface ProjectImportOptionspublic String getAttachmentPath()
ProjectImportOptionsgetAttachmentPath in interface ProjectImportOptionspublic boolean overwriteProjectDetails()
ProjectImportOptionsNOTE: If the project does not yet exist the importer will work as if this value is set to true, no matter what the value really is.
overwriteProjectDetails in interface ProjectImportOptionspublic void setOverwriteProjectDetails(boolean overwriteProjectDetails)
public String getSelectedProjectKey()
ProjectImportOptionsgetSelectedProjectKey in interface ProjectImportOptionspublic void setSelectedProjectKey(String selectedProjectKey)
Copyright © 2002-2021 Atlassian. All Rights Reserved.