Interface IHierarchyImporterContext
-
public interface IHierarchyImporterContext
Context for hierarchy importer
Contain static data and services to a single import operation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IProjectFileSystemSupport
getFileSystemSupport()
Returns a file system support to use by importers to get model object paths relative to base location.IHierarchyImporter
getHierarchyImporter(String key)
Get hierarchy importer for given key and contain 1C:Enterprise Runtime versionIHierarchyImportExecutor
getHierarchyImportExecutor()
Get hierarchy import executor serviceorg.eclipse.core.runtime.IPath
getLocation()
Returns a base location to use by importers as base path to import model objects to.INodePostProcessor
getPostProcessor()
Returns hierarchy combined import node post processor that executes all registered node post processors.org.eclipse.core.resources.IProject
getProject()
Returns the context project to use by importers.String
getSourceFileName()
The name of root xml file for importPath
getSourceRoot()
Path to root xml folder for importVersion
getVersion()
1C:Enterprise Runtime versionIXmlFileDelegatingReader
getXmlFileReader()
Returns the delegating XML file reader.
-
-
-
Method Detail
-
getProject
org.eclipse.core.resources.IProject getProject()
Returns the context project to use by importers. Clients should use this project as context only. To get import destination clients should callgetLocation()
.- Returns:
- the context
IProject
, nevernull
-
getLocation
org.eclipse.core.runtime.IPath getLocation()
Returns a base location to use by importers as base path to import model objects to.- Returns:
- a base location to use by importers, never
null
-
getFileSystemSupport
IProjectFileSystemSupport getFileSystemSupport()
Returns a file system support to use by importers to get model object paths relative to base location.- Returns:
- a file system support to use by importers, never
null
-
getSourceFileName
String getSourceFileName()
The name of root xml file for import- Returns:
- the String value of root xml file name, optional, can be
null
-
getSourceRoot
Path getSourceRoot()
Path to root xml folder for import- Returns:
- the
Path
to xml source, nevernull
-
getHierarchyImporter
IHierarchyImporter getHierarchyImporter(String key) throws ImportException
Get hierarchy importer for given key and contain 1C:Enterprise Runtime version- Parameters:
key
- the string key of hierarchy importer type (notnull
)- Returns:
- instance of
IHierarchyImporter
, nevernull
- Throws:
ImportException
- if importer for this key and version is unregistered
-
getHierarchyImportExecutor
IHierarchyImportExecutor getHierarchyImportExecutor()
Get hierarchy import executor service- Returns:
- instance of
IHierarchyImportExecutor
service, nevernull
-
getXmlFileReader
IXmlFileDelegatingReader getXmlFileReader()
Returns the delegating XML file reader.- Returns:
- the delegating XML file reader, never
null
- See Also:
IXmlFileDelegatingReader
-
getPostProcessor
INodePostProcessor getPostProcessor()
Returns hierarchy combined import node post processor that executes all registered node post processors.- Returns:
- the hierarchy import node post processor, never
null
- See Also:
INodePostProcessor
-
-