Class CommonProcessorNode

All Implemented Interfaces:
AdminIfc, ConfigIfc, LoggerIfc, NodeHealthIfc, NodeStateManagementIfc, PropertyIfc, StateManagementIfc
Direct Known Subclasses:
GeneralNPLProcessorNode

public abstract class CommonProcessorNode extends ProcessorNode
This Processor Node handle some base functionality in setting up some default, common processor node issues. This node makes no assumptions about the format of the rules file, or what this particular processor node should be doing. Currently, this consists of: - providing the general rules file
  • Constructor Details

    • CommonProcessorNode

      public CommonProcessorNode() throws NodeStartException
      Default Constructor.
      Throws:
      NodeStartException
    • CommonProcessorNode

      public CommonProcessorNode(String[] args) throws NodeStartException
      Constructor for the GeneralNPLProcessorNode.
      Parameters:
      args - Passed to super class ProcessorNode
      Throws:
      NodeStartException
    • CommonProcessorNode

      public CommonProcessorNode(String[] args, boolean multithread) throws NodeStartException
      Constructor for the GeneralNPLProcessorNode for a multi-threaded derived class.
      Parameters:
      args - Passed to super class ProcessorNode
      multithread - Passed from derived class if it is multi-threaded
      Throws:
      NodeStartException
  • Method Details

    • shutdown

      public void shutdown()
      Performs the necessary tasks to properly shutdown the node.
      Specified by:
      shutdown in interface AdminIfc
      Overrides:
      shutdown in class DCNode
    • getRulesFile

      protected String getRulesFile()
      Returns the default rules file filename.
    • setRulesFile

      protected void setRulesFile(String rulesFile)
      Sets the default rules file filename.