Package com._1c.g5.v8.dt.export
Interface IExportStrategy
public interface IExportStrategy
Describes strategy of exporting objects in export operation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IExportStrategyDefault export strategy: exports all objects with all children (subordinates objects and external properties) always exports unknown artifacts -
Method Summary
Modifier and TypeMethodDescriptionbooleanexportExternalProperties(org.eclipse.emf.ecore.EObject eObject) Returns whether the given object will be exported with external properties.booleanexportSubordinatesObjects(org.eclipse.emf.ecore.EObject eObject) Returns whether the given object will be exported with subordinate objects.booleanReturns whether needs to export unknown configuration artifacts in export operation.
-
Field Details
-
DEFAULT
Default export strategy:- exports all objects with all children (subordinates objects and external properties)
- always exports unknown artifacts
-
-
Method Details
-
exportSubordinatesObjects
boolean exportSubordinatesObjects(org.eclipse.emf.ecore.EObject eObject) Returns whether the given object will be exported with subordinate objects.- Parameters:
eObject- the object to export, cannot benull- Returns:
- whether the given object will be exported with subordinate objects
-
exportExternalProperties
boolean exportExternalProperties(org.eclipse.emf.ecore.EObject eObject) Returns whether the given object will be exported with external properties.- Parameters:
eObject- the object to export, cannot benull- Returns:
- whether the given object will be exported with external properties
-
exportUnknown
boolean exportUnknown()Returns whether needs to export unknown configuration artifacts in export operation.Unknown configuration artifacts are unsupported configuration objects by DT IDE. If they were exported from 1C:Enterprise during XML import operation, then they will be saved to special
unknownfolder, and then can be exported back to 1C:Enterprise. Because these artifacts are unsupported, DT IDE cannot define when to export them by itself.- Returns:
- whether needs to export unknown configuration artifacts in export operation
-