Class TrainCustomCommon

    • Constructor Detail

      • TrainCustomCommon

        protected TrainCustomCommon​(java.lang.String dirName,
                                    java.lang.String xmlElement)
    • Method Detail

      • setFileName

        public void setFileName​(java.lang.String name)
      • addCsvFile

        public boolean addCsvFile​(java.io.File csvFile)
        Adds one CSV file path to the collection of files to be processed.
        Parameters:
        csvFile - The File to add.
        Returns:
        true if successful
      • process

        public boolean process()
        Processes the CSV files using a Custom external program that reads the file of file names.
        Returns:
        True if successful.
      • waitForProcessToComplete

        public boolean waitForProcessToComplete()
                                         throws java.lang.InterruptedException
        Returns:
        true if process completes without a timeout, false if there's a timeout.
        Throws:
        java.lang.InterruptedException - if process thread is interrupted
      • doesCommonFileExist

        public boolean doesCommonFileExist()
        Checks to see if the common file exists
        Returns:
        true if the common file exists
      • load

        public void load​(org.jdom2.Element options)
      • store

        public void store​(org.jdom2.Element options)