public class EventProcessorConfig extends Object
EventProcessor| Constructor and Description |
|---|
EventProcessorConfig() |
| Modifier and Type | Method and Description |
|---|---|
<T extends com.fluxtion.runtime.audit.Auditor> |
addAuditor(T listener,
String name)
Adds an
Auditor to this SEP. |
void |
addEventAudit(com.fluxtion.runtime.audit.EventLogControlEvent.LogLevel tracingLogLevel)
Add an
EventLogManager auditor to the generated SEP. |
void |
addInterfaceImplementation(Class<?> clazz) |
<T> T |
addNode(T node)
Add a node to the SEP.
|
<T> T |
addNode(T node,
String name)
Add a node to the SEP.
|
<T> T |
addPublicNode(T node,
String name)
Add a node to the SEP.
|
void |
buildConfig()
Users can override this method and add SEP description logic here.
|
com.fluxtion.runtime.time.Clock |
clock()
adds a clock to the generated SEP.
|
HashMap<String,com.fluxtion.runtime.audit.Auditor> |
getAuditorMap() |
Map<String,String> |
getClass2replace()
Map an original fully qualified class name into a new value.
|
Map<Object,Integer> |
getFilterMap()
overrides the filter integer id's for a set of instances
|
NodeFactoryRegistration |
getNodeFactoryRegistration()
Node Factory configuration
|
List<Object> |
getNodeList()
the nodes included in this graph
|
HashMap<Object,String> |
getPublicNodes()
Variable names overrides for public nodes, these will be well known and
addressable from outside the SEP.
|
RootNodeConfig |
getRootNodeConfig() |
String |
getTemplateFile()
the name of the template file to use as an input
|
Set<Class<?>> |
interfacesToImplement() |
boolean |
isAssignPrivateMembers()
attempt to assign private member variables, some platforms will support
access to non-public scoped members.
|
boolean |
isInlineEventHandling()
configures generated code to inline the event handling methods or not.
|
boolean |
isSupportDirtyFiltering()
configures generated code to support dirty filtering
|
void |
mapClass(String originalFqn,
String mappedFqn)
Maps a class name from one String to another in the generated output.
|
void |
setAssignPrivateMembers(boolean assignPrivateMembers) |
void |
setAuditorMap(HashMap<String,com.fluxtion.runtime.audit.Auditor> auditorMap) |
void |
setFilterMap(Map<Object,Integer> filterMap) |
void |
setInlineEventHandling(boolean inlineEventHandling) |
void |
setNodeFactoryRegistration(NodeFactoryRegistration nodeFactoryRegistration) |
void |
setNodeList(List<Object> nodeList) |
void |
setPublicNodes(HashMap<Object,String> publicNodes) |
void |
setRootNodeConfig(RootNodeConfig rootNodeConfig) |
void |
setSupportDirtyFiltering(boolean supportDirtyFiltering) |
void |
setTemplateFile(String templateFile) |
public <T> T addNode(T node)
NodeNameProducer
strategy.Fluxtion will check if this node is already in the node set and will return the previously added node.
T - The type of the node to add to the SEPnode - the node instance to addpublic <T> T addNode(T node,
String name)
NodeNameProducer
strategy if the provided name is null.Fluxtion will check if this node is already in the node set and will return the previously added node.
T - The type of the node to add to the SEPnode - the node instance to addname - the variable name of the nodepublic <T> T addPublicNode(T node,
String name)
NodeNameProducer
strategy if the provided name is null.Fluxtion will check if this node is already in the node set and will return the previously added node.
T - The type of the node to add to the SEPnode - the node instance to addname - the variable name of the nodepublic <T extends com.fluxtion.runtime.audit.Auditor> T addAuditor(T listener,
String name)
Auditor to this SEP. The Auditor will have public final
scope and can be accessed via the provided variable name.T - The type of the Auditorlistener - Auditor instancename - public name of Auditorpublic void mapClass(String originalFqn, String mappedFqn)
originalFqn - Class name to replacemappedFqn - Class name replacementpublic com.fluxtion.runtime.time.Clock clock()
public void addEventAudit(com.fluxtion.runtime.audit.EventLogControlEvent.LogLevel tracingLogLevel)
EventLogManager auditor to the generated SEP. Specify
the level at which method tracing will take place.public void addInterfaceImplementation(Class<?> clazz)
public void buildConfig()
public String getTemplateFile()
public void setTemplateFile(String templateFile)
public HashMap<Object,String> getPublicNodes()
public void setAuditorMap(HashMap<String,com.fluxtion.runtime.audit.Auditor> auditorMap)
public NodeFactoryRegistration getNodeFactoryRegistration()
public void setNodeFactoryRegistration(NodeFactoryRegistration nodeFactoryRegistration)
public RootNodeConfig getRootNodeConfig()
public void setRootNodeConfig(RootNodeConfig rootNodeConfig)
public Map<Object,Integer> getFilterMap()
public boolean isInlineEventHandling()
public void setInlineEventHandling(boolean inlineEventHandling)
public boolean isSupportDirtyFiltering()
public void setSupportDirtyFiltering(boolean supportDirtyFiltering)
public boolean isAssignPrivateMembers()
public void setAssignPrivateMembers(boolean assignPrivateMembers)
Copyright © 2022. All rights reserved.