Class ClockFactory

java.lang.Object
com.fluxtion.builder.time.ClockFactory
All Implemented Interfaces:
NodeFactory<com.fluxtion.api.time.Clock>

public class ClockFactory
extends java.lang.Object
implements NodeFactory<com.fluxtion.api.time.Clock>
Author:
V12 Technology Ltd.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static com.fluxtion.api.time.Clock SINGLETON  
  • Constructor Summary

    Constructors 
    Constructor Description
    ClockFactory()  
  • Method Summary

    Modifier and Type Method Description
    com.fluxtion.api.time.Clock createNode​(java.util.Map config, NodeRegistry registry)
    NodeFactory writer must implement this method to generate instances of nodes.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.fluxtion.builder.node.NodeFactory

    postInstanceRegistration, preSepGeneration, setTargetLanguage
  • Field Details

    • SINGLETON

      public static final com.fluxtion.api.time.Clock SINGLETON
  • Constructor Details

  • Method Details

    • createNode

      public com.fluxtion.api.time.Clock createNode​(java.util.Map config, NodeRegistry registry)
      Description copied from interface: NodeFactory
      NodeFactory writer must implement this method to generate instances of nodes. The Fluxtion compiler will call this method when an Inject instance is created. Config variables are used to populate the config map.
      Specified by:
      createNode in interface NodeFactory<com.fluxtion.api.time.Clock>
      Parameters:
      config - map configuration
      registry - The node registry of the current generation context
      Returns:
      The newly created node instance