@ApplicationScoped public class ResourceChangeIncrementalBuilder extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
isIncrementalEnabled |
protected static org.slf4j.Logger |
logger |
protected ModuleService<? extends Module> |
moduleService |
Constructor and Description |
---|
ResourceChangeIncrementalBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
addResource(Path resource) |
void |
batchResourceChanges(Map<Path,Collection<ResourceChange>> batch) |
void |
configureOnEvent(ApplicationStarted applicationStartedEvent) |
void |
deleteResource(Path resource) |
protected boolean |
isProjectResourceUpdateNeeded(Path resource) |
protected void |
schedulePackageResourceUpdate(Path resource) |
protected void |
scheduleProjectResourceUpdate(Path resource) |
void |
updateResource(Path resource) |
protected static final org.slf4j.Logger logger
@Inject protected ModuleService<? extends Module> moduleService
protected boolean isIncrementalEnabled
public void configureOnEvent(@Observes ApplicationStarted applicationStartedEvent)
public void addResource(Path resource)
public void deleteResource(Path resource)
public void updateResource(Path resource)
protected boolean isProjectResourceUpdateNeeded(Path resource)
protected void scheduleProjectResourceUpdate(Path resource)
protected void schedulePackageResourceUpdate(Path resource)
public void batchResourceChanges(Map<Path,Collection<ResourceChange>> batch)
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.