Class FtpFileEnhancerNode

All Implemented Interfaces:
AdminIfc, ConfigIfc, LoggerIfc, NodeHealthIfc, NodeStateManagementIfc, PropertyIfc, StateManagementIfc

public class FtpFileEnhancerNode extends FileEnhancerNode
  • Constructor Details

  • Method Details

    • getMinorType

      public String getMinorType()
      Returns the type name of the NPLProcessor node.
      Overrides:
      getMinorType in class FileEnhancerNode
      Returns:
      Returns the minor type identifier for this node.
    • setLoaderThread

      public void setLoaderThread()
      Sets the Lookup Table Reader to run within its own thread.
      Parameters:
      lrt - A runnable LookupReaderThread object.
    • getLoaderThread

      public Thread getLoaderThread()
      Returns:
      Returns the thread which is executing the LookupReader.
    • getConfigDataGuiClass

      public String getConfigDataGuiClass()
      Returns the name of the NPLFieldProcessor Config Data GUI class.
      Overrides:
      getConfigDataGuiClass in class FileEnhancerNode
      Returns:
      Returns the class name of the DCNodeConfigGUI object used by the node.
    • setLoader

      public void setLoader()
    • getLoader

      public FtpPullThread getLoader()
    • shutdown

      public void shutdown()
      Description copied from class: FileEnhancerNode
      Performs the necessary tasks to properly shutdown the node.
      Specified by:
      shutdown in interface AdminIfc
      Overrides:
      shutdown in class FileEnhancerNode
    • getCfgData

      protected void getCfgData()
      Description copied from class: FileEnhancerNode
      Reads the applicable configuration data through the ConfigIfc interface
      Overrides:
      getCfgData in class FileEnhancerNode
    • main

      public static void main(String[] args)
    • isHealthy

      public boolean isHealthy()
      This method is used to check if the node is fully functional.
      Specified by:
      isHealthy in interface NodeHealthIfc
      Overrides:
      isHealthy in class FileEnhancerNode
      Returns:
      true if the node is fully functional (healthy), false otherwise