Class IncrementalBuilder.InternalStatefulIncrementalBuilder

  • Enclosing class:
    IncrementalBuilder

    public static class IncrementalBuilder.InternalStatefulIncrementalBuilder
    extends java.lang.Object
    Builder instance that is bound to a single running build.
    • Constructor Detail

      • InternalStatefulIncrementalBuilder

        public InternalStatefulIncrementalBuilder()
    • Method Detail

      • unloadResource

        protected void unloadResource​(org.eclipse.emf.common.util.URI uri)
      • unloadResource

        protected void unloadResource​(org.eclipse.emf.common.util.URI uri,
                                      java.util.function.Predicate<org.eclipse.emf.ecore.resource.Resource> condition)
        Unload the resource with the given uri if it satisfies the given condition.
        Parameters:
        uri - the URI, must not be null
        condition - the condition, must not be null
        Since:
        2.28
      • getSerializableResourceDescription

        protected IResourceDescription getSerializableResourceDescription​(IResourceDescription description)
        Return a new Serializable resource description from a IResourceDescription.
        Parameters:
        description - the serializable description, must not be null
        Returns:
        the new serializable resource description, never null
        Since:
        2.26
      • getIndexer

        protected Indexer getIndexer()
        Since:
        2.28
      • getResourceServiceProvider

        protected IResourceServiceProvider getResourceServiceProvider​(org.eclipse.emf.ecore.resource.Resource resource)
        Since:
        2.28
      • validate

        protected boolean validate​(org.eclipse.emf.ecore.resource.Resource resource)
        Validate the resource and return true, if the build should proceed for the current state.
      • generate

        protected void generate​(org.eclipse.emf.ecore.resource.Resource resource,
                                BuildRequest request,
                                Source2GeneratedMapping newMappings)
        Generate code for the given resource
      • isLoadedFromStorage

        protected boolean isLoadedFromStorage​(org.eclipse.emf.ecore.resource.Resource resource)
        Since:
        2.28
      • installSourceLevelURIs

        protected void installSourceLevelURIs​(java.util.List<org.eclipse.emf.common.util.URI> uris)
        Since:
        2.28
      • isSource

        protected boolean isSource​(org.eclipse.emf.common.util.URI uri)
        Return true if the given uri must be loaded from source.
        Since:
        2.28
      • storeBinaryResource

        protected void storeBinaryResource​(org.eclipse.emf.ecore.resource.Resource resource,
                                           IFileSystemAccessExtension3 fileSystemAccess)
        Stores resource as a binary.
        Parameters:
        resource - resource to store, must not be null
        fileSystemAccess - the file system access, must not be null
        Since:
        2.28
      • setContext

        protected void setContext​(BuildContext context)
      • setRequest

        protected void setRequest​(BuildRequest request)