Package com._1c.g5.v8.dt.cmi.resource
Class CmiResourceContentImporter
java.lang.Object
com._1c.g5.v8.dt.core.provider.BmContentImportSupport
com._1c.g5.v8.dt.core.provider.TransactionalBmContentImporter
com._1c.g5.v8.dt.core.provider.StandardBmObjectImporter
com._1c.g5.v8.dt.cmi.resource.CmiResourceContentImporter
- All Implemented Interfaces:
IResourceContentImporter
Imports CMI data from the internal XML presentation
-
Nested Class Summary
Nested classes/interfaces inherited from class com._1c.g5.v8.dt.core.provider.BmContentImportSupport
BmContentImportSupport.ILoadOptionsProvider, BmContentImportSupport.LoadedData, BmContentImportSupport.NonCloseableHashingInputStream
Nested classes/interfaces inherited from interface com._1c.g5.v8.dt.core.provider.IResourceContentImporter
IResourceContentImporter.IMergeStrategy
-
Field Summary
Fields inherited from class com._1c.g5.v8.dt.core.provider.TransactionalBmContentImporter
OTHER_SEGMENT
Fields inherited from interface com._1c.g5.v8.dt.core.provider.IResourceContentImporter
PIPELINE_SEGMENT_PREFIX, PLATFORM_VERSION
-
Constructor Summary
ConstructorsConstructorDescriptionCmiResourceContentImporter
(IResourceContentImporter.IMergeStrategy mergeStrategy, IQualifiedNameFilePathConverter qualifiedNameFilePathConverter, ISymbolicNameService symbolicNameService, IRuntimeVersionSupport runtimeVersionSupport, IResourceContentImporterExtensionManager resourceContentImporterExtensionManager, IBmModelManager bmModelManager, IDerivedDataManagerProvider derivedDataManagerProvider) Constructs a new instance. -
Method Summary
Modifier and TypeMethodDescriptionboolean
supports
(org.eclipse.core.runtime.IPath path) Checks if this importer supports the specified resource.Methods inherited from class com._1c.g5.v8.dt.core.provider.StandardBmObjectImporter
getLoadOptions, handleResourceCreationOrModification, handleResourceDeletion, postProcess, resolveExternalReferencesDuringImport
Methods inherited from class com._1c.g5.v8.dt.core.provider.TransactionalBmContentImporter
computeSignature, dependsOn, getPipelineSegment, handleResourceCreationOrModification, handleResourceDeletion
Methods inherited from class com._1c.g5.v8.dt.core.provider.BmContentImportSupport
computeSha256Hash, doResourceLoad, executeImportInContextIfNecessary, executeTaskInContextIfNecessary, forceDerivedDataRebuild, getRuntimeVersion, loadData, resolveFqn
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com._1c.g5.v8.dt.core.provider.IResourceContentImporter
getPipelineSegmentImportDescription
-
Constructor Details
-
CmiResourceContentImporter
@Inject public CmiResourceContentImporter(IResourceContentImporter.IMergeStrategy mergeStrategy, IQualifiedNameFilePathConverter qualifiedNameFilePathConverter, ISymbolicNameService symbolicNameService, IRuntimeVersionSupport runtimeVersionSupport, IResourceContentImporterExtensionManager resourceContentImporterExtensionManager, IBmModelManager bmModelManager, IDerivedDataManagerProvider derivedDataManagerProvider) Constructs a new instance.- Parameters:
mergeStrategy
- the merge strategy to use, may not benull
.qualifiedNameFilePathConverter
- the qualified name file path converter to use, may not benull
.symbolicNameService
- the symbolic name service to use, may not benull
.runtimeVersionSupport
- the runtime version support to use, may not benull
.resourceContentImporterExtensionManager
- the import extensions manager, may not benull
.bmModelManager
-IBmModelManager
service reference, may not benull
.derivedDataManagerProvider
-IDerivedDataManagerProvider
service reference, may not benull
-
-
Method Details
-
supports
public boolean supports(org.eclipse.core.runtime.IPath path) Description copied from interface:IResourceContentImporter
Checks if this importer supports the specified resource.- Parameters:
path
- The path to the resource to check. May not benull
.- Returns:
true
if the resource is supported,false
otherwise.
-