public class ProjectImportSettings
extends java.lang.Object
implements java.io.Serializable
ProjectImportController.| Constructor and Description |
|---|
ProjectImportSettings()
Instantiates a new project import settings (default constructor).
|
ProjectImportSettings(java.io.File projectArchiveFile)
Instantiates a new project import settings.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Runnable |
getAfterImportTask()
Returns the 'after-import-task' that will be executed, after the
project was imported / un-zipped to the projects directory.
.
|
java.io.File |
getProjectArchiveFile()
Returns the project archive file.
|
boolean |
isExtractInThread()
Checks if is extract in thread.
|
boolean |
isOverwriteExistingVersion()
Checks if the older version has to be overwritten.
|
void |
setAfterImportTask(java.lang.Runnable afterImportTask)
Sets the 'after-import-task' that will be executed, after the
project was imported / un-zipped to the projects directory.
|
void |
setExtractInThread(boolean isExtractInThread)
Sets to execute the extraction process in an own thread or not.
|
void |
setOverwriteExistingVersion(boolean overwriteExistingVersion)
Sets to overwrite an existing version.
|
void |
setProjectArchiveFile(java.io.File projectArchiveFile)
Sets the project archive file.
|
public ProjectImportSettings()
public ProjectImportSettings(java.io.File projectArchiveFile)
projectArchiveFile - the project archive filepublic java.io.File getProjectArchiveFile()
public void setProjectArchiveFile(java.io.File projectArchiveFile)
projectArchiveFile - the new project archive filepublic void setExtractInThread(boolean isExtractInThread)
isExtractInThread - the new extract in threadpublic boolean isExtractInThread()
public boolean isOverwriteExistingVersion()
public void setOverwriteExistingVersion(boolean overwriteExistingVersion)
overwriteExistingVersion - the new overwrite existing versionpublic java.lang.Runnable getAfterImportTask()
public void setAfterImportTask(java.lang.Runnable afterImportTask)
afterImportTask - the new after import task