@ApplicationScoped public class ResourceChangeIncrementalBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isIncrementalEnabled |
protected static org.slf4j.Logger |
logger |
protected ProjectService<? extends Project> |
projectService |
| Constructor and Description |
|---|
ResourceChangeIncrementalBuilder() |
| Modifier and Type | Method and Description |
|---|---|
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) |
protected static final org.slf4j.Logger logger
@Inject protected ProjectService<? extends Project> projectService
protected boolean isIncrementalEnabled
public void configureOnEvent(@Observes
org.uberfire.commons.services.cdi.ApplicationStarted applicationStartedEvent)
public void addResource(org.uberfire.backend.vfs.Path resource)
public void deleteResource(org.uberfire.backend.vfs.Path resource)
public void updateResource(org.uberfire.backend.vfs.Path resource)
protected boolean isProjectResourceUpdateNeeded(org.uberfire.backend.vfs.Path resource)
protected void scheduleProjectResourceUpdate(org.uberfire.backend.vfs.Path resource)
protected void schedulePackageResourceUpdate(org.uberfire.backend.vfs.Path resource)
public void batchResourceChanges(Map<org.uberfire.backend.vfs.Path,Collection<org.uberfire.workbench.events.ResourceChange>> batch)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.