Package com._1c.g5.v8.dt.import_
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 -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.core.runtime.IStatuswork(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 theprojectas context.org.eclipse.core.runtime.IStatuswork(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 existingproject.
-
Field Details
-
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 existingproject.- Parameters:
project- the project to import to, cannot benullsourcePath- the source directory that contains file(s) to import, cannot benullprogressMonitor- the progress monitor, can benull- Returns:
- an execution
IStatusof import work, nevernull
-
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 theprojectas context.- Parameters:
project- the context project to use in import work, cannot benullsourcePath- the source directory that contains file(s) to import, cannot benulldestinationPath- the destination directory to import to, cannot benullprogressMonitor- the progress monitor, can benull- Returns:
- an execution
IStatusof import work result, nevernull
-