Package com._1c.g5.v8.dt.import_
Interface IImportService
-
public interface IImportService
Service to control full process of import.
-
-
Field Summary
Fields Modifier and Type Field Description static String
IMPORT_SERVICE_TRACE_OPTION
Trace option constant for Import service
-
Method Summary
All Methods Instance Methods Abstract Methods 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 theproject
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 existingproject
.
-
-
-
Field Detail
-
IMPORT_SERVICE_TRACE_OPTION
static final String IMPORT_SERVICE_TRACE_OPTION
Trace option constant for Import service- See Also:
- Constant Field Values
-
-
Method Detail
-
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 benull
sourcePath
- the source directory that contains file(s) to import, cannot benull
progressMonitor
- the progress monitor, can benull
- Returns:
- an execution
IStatus
of 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 theproject
as context.- Parameters:
project
- the context project to use in import work, cannot benull
sourcePath
- the source directory that contains file(s) to import, cannot benull
destinationPath
- the destination directory to import to, cannot benull
progressMonitor
- the progress monitor, can benull
- Returns:
- an execution
IStatus
of import work result, nevernull
-
-