Class ResourceChangeIncrementalBuilder
- java.lang.Object
-
- org.guvnor.common.services.builder.ResourceChangeIncrementalBuilder
-
@ApplicationScoped public class ResourceChangeIncrementalBuilder extends Object
Listener for changes to project resources to handle incremental builds
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanisIncrementalEnabledprotected static org.slf4j.Loggerloggerprotected org.guvnor.common.services.project.service.ModuleService<? extends org.guvnor.common.services.project.model.Module>moduleService
-
Constructor Summary
Constructors Constructor Description ResourceChangeIncrementalBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddResource(org.uberfire.backend.vfs.Path resource)voidbatchResourceChanges(Map<org.uberfire.backend.vfs.Path,Collection<org.uberfire.workbench.events.ResourceChange>> batch)voidconfigureOnEvent(org.uberfire.commons.services.cdi.ApplicationStarted applicationStartedEvent)voiddeleteResource(org.uberfire.backend.vfs.Path resource)protected booleanisProjectResourceUpdateNeeded(org.uberfire.backend.vfs.Path resource)protected voidschedulePackageResourceUpdate(org.uberfire.backend.vfs.Path resource)protected voidscheduleProjectResourceUpdate(org.uberfire.backend.vfs.Path resource)voidupdateResource(org.uberfire.backend.vfs.Path resource)
-
-
-
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)
-
-