Package | Description |
---|---|
org.fastnate.generator.context | |
org.fastnate.generator.statements |
Modifier and Type | Class and Description |
---|---|
class |
DefaultContextModelListener
Base implementation of a
ContextModelListener with empty methods. |
Modifier and Type | Field and Description |
---|---|
private List<ContextModelListener> |
GeneratorContext.contextModelListeners
All listeners of this context.
|
Modifier and Type | Method and Description |
---|---|
List<ContextModelListener> |
GeneratorContext.getContextModelListeners()
All listeners of this context.
|
Modifier and Type | Method and Description |
---|---|
void |
GeneratorContext.addContextModelListener(ContextModelListener listener)
Adds a new listener to this context.
|
void |
GeneratorContext.removeContextModelListener(ContextModelListener listener)
Removes a listener from this context.
|
Modifier and Type | Method and Description |
---|---|
private <K,T> T |
GeneratorContext.addContextObject(Map<K,? super T> objects,
BiConsumer<ContextModelListener,? super T> listenerFunction,
K key,
T object) |
protected <T> void |
GeneratorContext.fireContextObjectAdded(BiConsumer<ContextModelListener,T> listenerFunction,
T contextObject)
Fires an event to all
listeners . |
void |
GeneratorContext.setContextModelListeners(List<ContextModelListener> contextModelListeners)
All listeners of this context.
|
Modifier and Type | Class and Description |
---|---|
private static class |
ConnectedStatementsWriter.ContextListener |
private class |
PostgreSqlBulkWriter.ContextListener |
Modifier and Type | Field and Description |
---|---|
private ContextModelListener |
ConnectedStatementsWriter.contextListener
The listener for model changes in the context when new classes are discovered.
|
private ContextModelListener |
PostgreSqlBulkWriter.contextListener
The current generation context.
|
Copyright © 2022 fastnate.org. All rights reserved.