ParsingResultsProcessor.scala 707 Bytes
Newer Older
1
package eu.nomad_lab.integrated_pipeline
2

3
4
import java.nio.file.Path

5
import eu.nomad_lab.integrated_pipeline.OutputType.OutputType
6
import eu.nomad_lab.integrated_pipeline.messages.FileParsingResult
7
8
9
10
11

trait ParsingResultsProcessor {

  def processFileParsingResult(result: FileParsingResult): Unit

12
13
  val outputType: OutputType

14
15
16
17
18
  /**
   * obtain the folder where the result file(s) for the given file tree will be written
   * @param fileTree the processed file tree
   * @return the folder where the generated results are located
   */
19
  def outputLocation(fileTree: FileTree): Path
20

21
  def startProcessingTreeResults(treeTask: FileTree): Unit
22

23
  def finishProcessingTreeResults(treeTask: FileTree): Unit
24

25
}