Class ImportDataExchangeConfigurationSpec
java.lang.Object
com.orchestranetworks.addon.dex.configuration.ImportDataExchangeConfigurationSpec
Defines the configuration used to import the {addon.label} configuration from an XML file.
- Since:
- 2.4.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the imported file.Returns the specified import mode.Returns the specified import scope.com.orchestranetworks.service.ProfileReturns the preference owner to specify the imported preference configuration data.com.orchestranetworks.service.SessionReturns the current session.voidsetImportedFile(File importedFile) Sets an imported file.voidsetImportMode(ImportMode importMode) Sets the import mode.voidsetImportScopes(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.
-
Constructor Details
-
ImportDataExchangeConfigurationSpec
public ImportDataExchangeConfigurationSpec()
-
-
Method Details
-
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
Returns the specified import mode. If the import mode isnull, the import modeImportMode.UPDATE_AND_INSERTis returned. -
setImportMode
Sets the import mode. -
getImportedFile
Returns the imported file. -
setImportedFile
Sets an imported file. -
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:
-
setImportScopes
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:
-
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
-