Interface IXtextResourceCleanerService

  • All Known Implementing Classes:
    XtextResourceCleanerService

    public interface IXtextResourceCleanerService
    Interface for mechanism of clearing resource in xtext builder. Also supporting clearing all resources in project.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void cleanUp​(org.eclipse.emf.ecore.resource.Resource resource)
      Clears data from resource.
      boolean isClean​(org.eclipse.emf.common.util.URI uri)
      Checks that resource with uri was cleaned
    • Method Detail

      • cleanUp

        void cleanUp​(org.eclipse.emf.ecore.resource.Resource resource)
        Clears data from resource. The logic of clearing resource data is defined by extension points "com._1c.g5.modeling.xtext.xtextResourceCleaner" for each type of resource
        Parameters:
        resource - clearing Resource, can't be null
      • isClean

        boolean isClean​(org.eclipse.emf.common.util.URI uri)
        Checks that resource with uri was cleaned
        Parameters:
        uri - resource URI for checking, can't be null
        Returns:
        true if resource with uri was cleaned false otherwise