Interface IExportStrategy


  • public interface IExportStrategy
    Describes strategy of exporting objects in export operation.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static IExportStrategy DEFAULT
      Default export strategy: exports all objects with all children (subordinates objects and external properties) always exports unknown artifacts
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean exportExternalProperties​(org.eclipse.emf.ecore.EObject eObject)
      Returns whether the given object will be exported with external properties.
      boolean exportSubordinatesObjects​(org.eclipse.emf.ecore.EObject eObject)
      Returns whether the given object will be exported with subordinate objects.
      boolean exportUnknown()
      Returns whether needs to export unknown configuration artifacts in export operation.
    • Field Detail

      • DEFAULT

        static final IExportStrategy DEFAULT
        Default export strategy:
        • exports all objects with all children (subordinates objects and external properties)
        • always exports unknown artifacts
    • Method Detail

      • 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 be null
        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 be null
        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 unknown folder, 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