T - public interface NodeFactory<T>
| Modifier and Type | Method and Description |
|---|---|
T |
createNode(Map config,
NodeRegistry registry) |
default void |
postInstanceRegistration(Map config,
NodeRegistry registry,
T instance) |
default void |
preSepGeneration(GenerationContext context)
If the node generates a class for this SEP, this callback gives
the node access to the GenerationContext.
|
default void |
setTargetLanguage(String targetLanguage)
If the node generates a class for this SEP, this callback will indicate
the desired target.
|
T createNode(Map config, NodeRegistry registry)
config - registry - default void postInstanceRegistration(Map config, NodeRegistry registry, T instance)
config - registry - instance - default void setTargetLanguage(String targetLanguage)
targetLanguage - default void preSepGeneration(GenerationContext context)
context - Copyright © 2018. All rights reserved.