Class ResourceChangeIncrementalBuilder


  • @ApplicationScoped
    public class ResourceChangeIncrementalBuilder
    extends Object
    Listener for changes to project resources to handle incremental builds
    • Field Detail

      • logger

        protected static final org.slf4j.Logger logger
      • moduleService

        @Inject
        protected org.guvnor.common.services.project.service.ModuleService<? extends org.guvnor.common.services.project.model.Module> moduleService
      • isIncrementalEnabled

        protected boolean isIncrementalEnabled
    • Constructor Detail

      • ResourceChangeIncrementalBuilder

        public ResourceChangeIncrementalBuilder()
    • Method Detail

      • configureOnEvent

        public void configureOnEvent​(@Observes
                                     org.uberfire.commons.services.cdi.ApplicationStarted applicationStartedEvent)
      • addResource

        public void addResource​(org.uberfire.backend.vfs.Path resource)
      • deleteResource

        public void deleteResource​(org.uberfire.backend.vfs.Path resource)
      • updateResource

        public void updateResource​(org.uberfire.backend.vfs.Path resource)
      • isProjectResourceUpdateNeeded

        protected boolean isProjectResourceUpdateNeeded​(org.uberfire.backend.vfs.Path resource)
      • scheduleProjectResourceUpdate

        protected void scheduleProjectResourceUpdate​(org.uberfire.backend.vfs.Path resource)
      • schedulePackageResourceUpdate

        protected void schedulePackageResourceUpdate​(org.uberfire.backend.vfs.Path resource)
      • batchResourceChanges

        public void batchResourceChanges​(Map<org.uberfire.backend.vfs.Path,​Collection<org.uberfire.workbench.events.ResourceChange>> batch)