org.guvnor.common.services.builder
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final org.slf4j.Logger logger
projectService
@Inject
protected ProjectService<? extends Project> projectService
isIncrementalEnabled
protected boolean isIncrementalEnabled
ResourceChangeIncrementalBuilder
public ResourceChangeIncrementalBuilder()
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)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.