Class ImportDataExchangeConfigurationSpec


  • public final class ImportDataExchangeConfigurationSpec
    extends java.lang.Object
    Defines the configuration used to import the {addon.label} configuration from an XML file.
    Since:
    2.4.2
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.File getImportedFile()
      Returns the imported file.
      ImportMode getImportMode()
      Returns the specified import mode.
      java.util.Set<ImportScope> getImportScopes()
      Returns the specified import scope.
      com.orchestranetworks.service.Profile getProfile()
      Returns the preference owner to specify the imported preference configuration data.
      com.orchestranetworks.service.Session getSession()
      Returns the current session.
      void setImportedFile​(java.io.File importedFile)
      Sets an imported file.
      void setImportMode​(ImportMode importMode)
      Sets the import mode.
      void setImportScopes​(java.util.Set<ImportScope> importScopes)
      Sets the import scope.
      void setProfile​(com.orchestranetworks.service.Profile profile)
      Sets the preference owner to specify the imported preference configuration data.
      void setSession​(com.orchestranetworks.service.Session session)
      Sets the current session.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ImportDataExchangeConfigurationSpec

        public ImportDataExchangeConfigurationSpec()
    • 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.
      • 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