Interface IImportService

All Known Implementing Classes:
AbstractHierarchyXmlImportService, ConfigurationXmlImportService, ExternalObjectXmlImportService, ImportXmlService, MetadataObjectsXmlImportService, MigrationXmlImportService, ZipXmlImportService

public interface IImportService
Service to control full process of import.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Trace option constant for Import service
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.core.runtime.IStatus
    work(org.eclipse.core.resources.IProject project, Path sourcePath, Path destinationPath, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
    Executes import work of platform XML files from the provided source directory to the provided destination directory using the project as context.
    org.eclipse.core.runtime.IStatus
    work(org.eclipse.core.resources.IProject project, Path sourcePath, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
    Executes import work of platform XML files from the provided source directory to the provided existing project.
  • Field Details

    • IMPORT_SERVICE_TRACE_OPTION

      static final String IMPORT_SERVICE_TRACE_OPTION
      Trace option constant for Import service
      See Also:
  • Method Details

    • work

      org.eclipse.core.runtime.IStatus work(org.eclipse.core.resources.IProject project, Path sourcePath, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
      Executes import work of platform XML files from the provided source directory to the provided existing project.
      Parameters:
      project - the project to import to, cannot be null
      sourcePath - the source directory that contains file(s) to import, cannot be null
      progressMonitor - the progress monitor, can be null
      Returns:
      an execution IStatus of import work, never null
    • work

      org.eclipse.core.runtime.IStatus work(org.eclipse.core.resources.IProject project, Path sourcePath, Path destinationPath, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
      Executes import work of platform XML files from the provided source directory to the provided destination directory using the project as context.
      Parameters:
      project - the context project to use in import work, cannot be null
      sourcePath - the source directory that contains file(s) to import, cannot be null
      destinationPath - the destination directory to import to, cannot be null
      progressMonitor - the progress monitor, can be null
      Returns:
      an execution IStatus of import work result, never null