Class ImportDataExchangeConfigurationSpec
- java.lang.Object
-
- com.orchestranetworks.addon.dex.configuration.ImportDataExchangeConfigurationSpec
-
public final class ImportDataExchangeConfigurationSpec extends java.lang.ObjectDefines the configuration used to import the {addon.label} configuration from an XML file.- Since:
- 2.4.2
-
-
Constructor Summary
Constructors Constructor Description ImportDataExchangeConfigurationSpec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.FilegetImportedFile()Returns the imported file.ImportModegetImportMode()Returns the specified import mode.java.util.Set<ImportScope>getImportScopes()Returns the specified import scope.com.orchestranetworks.service.ProfilegetProfile()Returns the preference owner to specify the imported preference configuration data.com.orchestranetworks.service.SessiongetSession()Returns the current session.voidsetImportedFile(java.io.File importedFile)Sets an imported file.voidsetImportMode(ImportMode importMode)Sets the import mode.voidsetImportScopes(java.util.Set<ImportScope> importScopes)Sets the import scope.voidsetProfile(com.orchestranetworks.service.Profile profile)Sets the preference owner to specify the imported preference configuration data.voidsetSession(com.orchestranetworks.service.Session session)Sets the current session.
-
-
-
Method Detail
-
getSession
public com.orchestranetworks.service.Session getSession()
Returns the current session.
-
setSession
public void setSession(com.orchestranetworks.service.Session session)
Sets the current session.
-
getImportMode
public ImportMode getImportMode()
Returns the specified import mode. If the import mode isnull, the import modeImportMode.UPDATE_AND_INSERTis returned.
-
setImportMode
public void setImportMode(ImportMode importMode)
Sets the import mode.
-
getImportedFile
public java.io.File getImportedFile()
Returns the imported file.
-
setImportedFile
public void setImportedFile(java.io.File importedFile)
Sets an imported file.
-
getImportScopes
public java.util.Set<ImportScope> getImportScopes()
Returns the specified import scope. The scope is determined by selecting which parts of the add-on's configuration data to import.- Since:
- 2.7.0
- See Also:
ImportScope
-
setImportScopes
public void setImportScopes(java.util.Set<ImportScope> importScopes)
Sets the import scope. The scope is determined by selecting which parts of the add-on's configuration data to import.- Since:
- 2.7.0
- See Also:
ImportScope
-
getProfile
public com.orchestranetworks.service.Profile getProfile()
Returns the preference owner to specify the imported preference configuration data. Only preference data from the selected profile will be imported.- Since:
- 2.7.0
-
setProfile
public void setProfile(com.orchestranetworks.service.Profile profile)
Sets the preference owner to specify the imported preference configuration data. Only preference data from the selected profile will be imported.- Since:
- 2.7.0
-
-