Class OIFtpConfigGUI

All Implemented Interfaces:
DCNodeConfigGUIIfc, ImageObserver, MenuContainer, Serializable, Accessible
Direct Known Subclasses:
FFOINodeConfigGUI, GenevaOIConfigGUI, IPDROIConfigGUI, NAROIConfigGUI, NARXMLOIConfigGUI, XMLOIConfigGUI

public class OIFtpConfigGUI extends OINodeConfigGUI
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • setDefaults

      public void setDefaults()
      Sets the default values for the various configuration parameters.
      Overrides:
      setDefaults in class OINodeConfigGUI
    • setFileDefaults

      protected void setFileDefaults()
    • setMultiThreadDefaults

      protected void setMultiThreadDefaults()
    • setFtpDefaults

      protected void setFtpDefaults()
    • setCompressionDefaults

      protected void setCompressionDefaults()
    • setFileRetentionDefaults

      protected void setFileRetentionDefaults()
    • allFieldsValid

      public boolean allFieldsValid()
      Validates the configuration parameters.
      Specified by:
      allFieldsValid in interface DCNodeConfigGUIIfc
      Overrides:
      allFieldsValid in class DCNodeConfigGUI
      Returns:
      True, if all parameters are valid.
    • allFtpFieldsValid

      protected boolean allFtpFieldsValid()
    • allFileFieldsValid

      protected boolean allFileFieldsValid()
    • allFileRetentionFieldsValid

      protected boolean allFileRetentionFieldsValid()
      This method validates the values entered in the File Retention panel.
      Returns:
      boolean if any of the field's validation fails, returns false. returns true if all field validations are OK
    • isMultiThreadCountValid

      protected boolean isMultiThreadCountValid()
    • verifyFolders

      protected boolean verifyFolders()
    • getNodeSpecificConfigData

      public void getNodeSpecificConfigData(DCNodeConfigData nodeData)
      Sets the default values for the various configuration parameters within the given DCNodeConfigData object.
      Specified by:
      getNodeSpecificConfigData in interface DCNodeConfigGUIIfc
      Overrides:
      getNodeSpecificConfigData in class OINodeConfigGUI
    • extendConfigGUI

      public void extendConfigGUI()
      Create the node's configuration panel with the specific text fields, check boxes, etc. which allow the user to configure the node.
      Specified by:
      extendConfigGUI in interface DCNodeConfigGUIIfc
      Overrides:
      extendConfigGUI in class OINodeConfigGUI
    • actionPerformed

      public void actionPerformed(ActionEvent event)
    • getFileConfigData

      protected void getFileConfigData(DCNodeConfigData nodeData)
    • getMultiThreadConfigData

      protected void getMultiThreadConfigData(DCNodeConfigData nodeData)
    • getFTPConfigData

      protected void getFTPConfigData(DCNodeConfigData nodeData)
    • getFileRetentionConfigData

      protected void getFileRetentionConfigData(DCNodeConfigData nodeData)
    • getCompressionConfigData

      protected void getCompressionConfigData(DCNodeConfigData nodeData)
    • makeFileOutputPanel

      protected void makeFileOutputPanel()
    • makeFileRetentionPanel

      protected void makeFileRetentionPanel()
      This method is used to create File Retention panel.
    • makeFileRetentionPanel

      protected JPanel makeFileRetentionPanel(boolean addToSuperPanel)
    • makeFileOutputPanelComponents

      protected void makeFileOutputPanelComponents(Vector labels, Vector components)
      This method is to be overridden in the subclasses for changes in the Output GUI.
    • makeMultiThreadPanel

      protected void makeMultiThreadPanel()
    • getFileOutputPanelName

      protected String getFileOutputPanelName()
    • makeCompressionPanel

      protected void makeCompressionPanel()
    • makeFTPPanel

      protected void makeFTPPanel()
    • makeFTPPanelComponents

      protected void makeFTPPanelComponents(Vector ftpLabels, Vector ftpComponents)
      This method is to be overridden in the subclasses for changes in the FTP GUI.
    • initCipher

      protected void initCipher()
      Initializes the cipher utility if necessary
    • getDefaultSleepTime

      protected long getDefaultSleepTime()
    • displayErrorMessage

      protected void displayErrorMessage(String message)
    • ftpUsedAction

      protected void ftpUsedAction()
      This method is to be overridden in subclasses if a new control is to be handled.