Class EINodeConfigGUI

All Implemented Interfaces:
DCNodeConfigGUIIfc, ItemListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible
Direct Known Subclasses:
FileEIConfigGUI, FlatFileEIConfigGUI, FtpFileEIConfigGUI, GenericUdpEINodeConfigGUI, IPDREIFileConfigGUI, JDBCEIConfigGUI, SoapXmlEIConfigGUI, XMLEIFileConfigGUI

public class EINodeConfigGUI extends DCNodeConfigGUI implements ItemListener
Base Configuration GUI class for EI Nodes
See Also:
  • Field Details

    • NARsPerFileField

      protected JTextField NARsPerFileField
      Number of UDC Records to be stored in a file for processing. Default value is 500.
    • idleNARWriteTimeField

      protected JTextField idleNARWriteTimeField
      Amount of time in seconds after which the current UDC Record cache file will be moved to an archive and made available for processing. Default value is 60 seconds.
    • advancedPanel

      protected JPanel advancedPanel
    • multiThreadLabel

      protected JLabel multiThreadLabel
    • multiThreadCheck

      protected JCheckBox multiThreadCheck
    • numThreads

      protected JLabel numThreads
    • threadCountBox

      protected JTextField threadCountBox
    • orderRequiredLabel

      protected JLabel orderRequiredLabel
    • orderRequiredCheck

      protected JCheckBox orderRequiredCheck
    • fileDuplicateLabel

      protected JLabel fileDuplicateLabel
    • fileDuplicateCheck

      protected JCheckBox fileDuplicateCheck
    • expiryTime

      protected JLabel expiryTime
    • fileExpiryTimeBox

      protected JTextField fileExpiryTimeBox
    • fileSequenceLabel

      protected JLabel fileSequenceLabel
    • fileSequenceCheck

      protected JCheckBox fileSequenceCheck
    • MINTHREAD_COUNT

      public static final int MINTHREAD_COUNT
      See Also:
    • MAXTHREAD_COUNT

      public static final int MAXTHREAD_COUNT
      See Also:
    • MINFILE_EXPIRY_TIME

      public static final int MINFILE_EXPIRY_TIME
      See Also:
    • MAXFILE_EXPIRY_TIME

      public static final int MAXFILE_EXPIRY_TIME
      See Also:
    • THREAD_COUNT

      public static final String THREAD_COUNT
      See Also:
    • MULTI_THREADED

      public static final String MULTI_THREADED
      See Also:
    • ORDER_REQUIRED

      public static final String ORDER_REQUIRED
      See Also:
    • FILE_DUPLICATE

      public static final String FILE_DUPLICATE
      See Also:
    • FILE_EXPIRY_TIME

      public static final String FILE_EXPIRY_TIME
      See Also:
    • FILE_SEQUENCE

      public static final String FILE_SEQUENCE
      See Also:
    • INPUT_BACKUP_DIR

      public static final String INPUT_BACKUP_DIR
      See Also:
    • ADVANCED_TAB_TITLE

      protected static final String ADVANCED_TAB_TITLE
  • Constructor Details

    • EINodeConfigGUI

      public EINodeConfigGUI()
      Default constructor.
    • EINodeConfigGUI

      public EINodeConfigGUI(DCNodeConfigData ncd)
      Calls parent's constructor
  • Method Details

    • hasDestinations

      public final boolean hasDestinations()
      Description copied from class: DCNodeConfigGUI
      Indicates whether the node can send output to other nodes.
      true for EI and Processor nodes. Default returns false.
      Specified by:
      hasDestinations in interface DCNodeConfigGUIIfc
      Overrides:
      hasDestinations in class DCNodeConfigGUI
      Returns:
      true
    • setInputBackUpDirConfigData

      public void setInputBackUpDirConfigData(DCNodeConfigData node_data)
    • getDCNodeConfigData

      public DCNodeConfigData getDCNodeConfigData()
      Calls parent's getDCNodeConfigData method, and populates the following additional fields:
      • DCNodeConfigData.DATAFILESIZE with the value from the "NARs per File:" field; and
      • DCNodeConfigData.PUSHTIME with the value from the "Idle Write Time:" field.
      Specified by:
      getDCNodeConfigData in interface DCNodeConfigGUIIfc
      Overrides:
      getDCNodeConfigData in class DCNodeConfigGUI
    • getNARsPerFileValue

      public int getNARsPerFileValue()
      Returns the value that the user has entered in the "NARs Per File:" field.
    • setNARsPerFileValue

      public void setNARsPerFileValue(int value)
      Sets the value that is displayed in the "NARs Per File:" field.
    • setMaxValueForNARsPerFile

      public void setMaxValueForNARsPerFile(int maxValue)
      Sets the maximum value that the user may enter in the "NARs per File:" field. Default maximum is 5000.
    • getIdleWriteTimeValue

      public int getIdleWriteTimeValue()
      Returns the value that the user has entered in the "Idle Write Time:" field.
    • setIdleWriteTimeValue

      public void setIdleWriteTimeValue(int value)
      Sets the value that is displayed in the "Idle Write Time:" field.
    • setMaxValueForIdleWriteTime

      public void setMaxValueForIdleWriteTime(int maxValue)
      Sets the maximum value that the user may enter in the "Idle Write Time:" field. Default maximum is 3600.
    • makeNodePanel

      protected JPanel makeNodePanel()
      Calls parent makeNodePanel method, adds the following text fields:
      Overrides:
      makeNodePanel in class DCNodeConfigGUI
    • setRangeValues

      protected void setRangeValues()
      Sets the min and max values for the "NARs per File" and "Idle Write Time" fields.
      Overrides:
      setRangeValues in class DCNodeConfigGUI
    • itemStateChanged

      public void itemStateChanged(ItemEvent event)
      Called when the user has made a selection in the 'Routing' JComboBox.
      Specified by:
      itemStateChanged in interface ItemListener
    • getMinNARsPerFile

      public int getMinNARsPerFile()
    • getMaxNARsPerFile

      public int getMaxNARsPerFile()
    • setMinNARsPerFile

      public void setMinNARsPerFile(int min)
    • setMaxNARsPerFile

      public void setMaxNARsPerFile(int max)
    • getMinIdleWriteTime

      public int getMinIdleWriteTime()
    • setMinIdleWriteTime

      public void setMinIdleWriteTime(int min)
    • getMaxIdleWriteTime

      public int getMaxIdleWriteTime()
    • setMaxIdleWriteTime

      public void setMaxIdleWriteTime(int max)
    • getNodeSpecificConfigData

      public void getNodeSpecificConfigData(DCNodeConfigData nodeData)
      Default implementation. This method is a no-op.
      Specified by:
      getNodeSpecificConfigData in interface DCNodeConfigGUIIfc
      Specified by:
      getNodeSpecificConfigData in class DCNodeConfigGUI
    • extendConfigGUI

      public void extendConfigGUI()
      Default implementation. This method is a no-op.
      Specified by:
      extendConfigGUI in interface DCNodeConfigGUIIfc
      Specified by:
      extendConfigGUI in class DCNodeConfigGUI
    • setDefaults

      public void setDefaults()
      Default implementation. This method is a no-op.
      Specified by:
      setDefaults in class DCNodeConfigGUI
    • makeAdvancedPanel

      public void makeAdvancedPanel()