Guvnor - Project Builder 6.2.0.CR3

org.guvnor.common.services.builder
Class ResourceChangeIncrementalBuilder

java.lang.Object
  extended by org.guvnor.common.services.builder.ResourceChangeIncrementalBuilder

@ApplicationScoped
public class ResourceChangeIncrementalBuilder
extends Object

Listener for changes to project resources to handle incremental builds


Field Summary
protected  boolean isIncrementalEnabled
           
protected static org.slf4j.Logger logger
           
protected  ProjectService<? extends Project> projectService
           
 
Constructor Summary
ResourceChangeIncrementalBuilder()
           
 
Method Summary
 void addResource(org.uberfire.backend.vfs.Path resource)
           
 void batchResourceChanges(Map<org.uberfire.backend.vfs.Path,Collection<org.uberfire.workbench.events.ResourceChange>> batch)
           
 void configureOnEvent(org.uberfire.commons.services.cdi.ApplicationStarted applicationStartedEvent)
           
 void deleteResource(org.uberfire.backend.vfs.Path resource)
           
protected  boolean isProjectResourceUpdateNeeded(org.uberfire.backend.vfs.Path resource)
           
protected  void schedulePackageResourceUpdate(org.uberfire.backend.vfs.Path resource)
           
protected  void scheduleProjectResourceUpdate(org.uberfire.backend.vfs.Path resource)
           
 void updateResource(org.uberfire.backend.vfs.Path resource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final org.slf4j.Logger logger

projectService

@Inject
protected ProjectService<? extends Project> projectService

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)

Guvnor - Project Builder 6.2.0.CR3

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.