Class ImportDataExchangeConfigurationSpec

java.lang.Object
com.orchestranetworks.addon.dex.configuration.ImportDataExchangeConfigurationSpec

public final class ImportDataExchangeConfigurationSpec extends Object
Defines the configuration used to import the {addon.label} configuration from an XML file.
Since:
2.4.2
  • 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

      public ImportMode getImportMode()
      Returns the specified import mode. If the import mode is null, the import mode ImportMode.UPDATE_AND_INSERT is returned.
    • setImportMode

      public void setImportMode(ImportMode importMode)
      Sets the import mode.
    • getImportedFile

      public File getImportedFile()
      Returns the imported file.
    • setImportedFile

      public void setImportedFile(File importedFile)
      Sets an imported file.
    • getImportScopes

      public 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:
    • setImportScopes

      public void setImportScopes(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:
    • 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