Class DeclarativeNodeConiguration

java.lang.Object
com.fluxtion.builder.node.DeclarativeNodeConiguration

public final class DeclarativeNodeConiguration
extends java.lang.Object
Provides data driven SEP generation.

Doc to be completed

Author:
Greg Higgins
  • Field Summary

    Fields 
    Modifier and Type Field Description
    java.util.Map config
    the configuration used to generate the nodes
    java.util.Set<java.lang.Class<? extends NodeFactory>> factoryClassSet
    The set of factory classes used for node creation, each factory must have default constructor so the SEP can instantiate the factory.
    java.util.Set<NodeFactory<?>> factorySet
    The factory instances registered that can create new new instances of nodes.
    java.util.Map<java.lang.Class,​java.lang.String> rootNodeMappings
    The root nodes to create and the variable names they should be mapped to.
  • Constructor Summary

    Constructors 
    Constructor Description
    DeclarativeNodeConiguration​(java.util.Map<java.lang.Class,​java.lang.String> rootNodeMappings, java.util.Set<java.lang.Class<? extends NodeFactory>> factoryList, java.util.Map config)  
    DeclarativeNodeConiguration​(java.util.Map<java.lang.Class,​java.lang.String> rootNodeMappings, java.util.Set<java.lang.Class<? extends NodeFactory>> factoryList, java.util.Map config, java.util.Set<NodeFactory<?>> factorySet)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object obj)  
    int hashCode()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • rootNodeMappings

      public final java.util.Map<java.lang.Class,​java.lang.String> rootNodeMappings
      The root nodes to create and the variable names they should be mapped to.
    • factoryClassSet

      public final java.util.Set<java.lang.Class<? extends NodeFactory>> factoryClassSet
      The set of factory classes used for node creation, each factory must have default constructor so the SEP can instantiate the factory. The classes in factoryClassSet are instantiated and merged into the factorySet instances.
    • factorySet

      public final java.util.Set<NodeFactory<?>> factorySet
      The factory instances registered that can create new new instances of nodes.
    • config

      public final java.util.Map config
      the configuration used to generate the nodes
  • Constructor Details

    • DeclarativeNodeConiguration

      public DeclarativeNodeConiguration​(java.util.Map<java.lang.Class,​java.lang.String> rootNodeMappings, java.util.Set<java.lang.Class<? extends NodeFactory>> factoryList, java.util.Map config)
    • DeclarativeNodeConiguration

      public DeclarativeNodeConiguration​(java.util.Map<java.lang.Class,​java.lang.String> rootNodeMappings, java.util.Set<java.lang.Class<? extends NodeFactory>> factoryList, java.util.Map config, java.util.Set<NodeFactory<?>> factorySet)
      Parameters:
      rootNodeMappings -
      factoryList -
      config -
      factorySet -
  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • equals

      public boolean equals​(java.lang.Object obj)
      Overrides:
      equals in class java.lang.Object