public class DependencyGraphUpdater<T> extends Object
| Constructor and Description |
|---|
DependencyGraphUpdater(Graph<T> graph,
com.google.common.eventbus.EventBus eventBus)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
recordEdge(DependencyFoundEvent<T> event)
Register a dependency in the graph.
|
void |
recordNode(ResolvedEvent<T> event)
Register a discovered resource in the graph.
|
void |
recordRemoval(ResourceRemovedEvent<T> event)
Register removal of nodes.
|
public void recordNode(ResolvedEvent<T> event)
event - Event that describes the discovered resource.public void recordEdge(DependencyFoundEvent<T> event)
event - Event that describes the dependency.public void recordRemoval(ResourceRemovedEvent<T> event)
event - The event indicating the removed nodes.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.