From fc7085f6876d2da22850f0609f28f6d7810040ef Mon Sep 17 00:00:00 2001 From: Peter van 't Hof <p.j.van_t_hof@lumc.nl> Date: Mon, 9 Nov 2015 09:13:47 +0100 Subject: [PATCH] Added some scaladocs --- .../nl/lumc/sasc/biopet/core/WriteDependencies.scala | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/public/biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/WriteDependencies.scala b/public/biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/WriteDependencies.scala index 22a5d12e3..59e25426c 100644 --- a/public/biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/WriteDependencies.scala +++ b/public/biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/WriteDependencies.scala @@ -9,8 +9,10 @@ import scala.collection.mutable import scala.collection.mutable.ListBuffer /** - * @author Peter van 't Hof <p.j.van_t_hof@lumc.nl> - */ + * This object will generate with [[WriteDependencies.writeDependencies]] a json file where information about job and file dependencies are stored + * + * @author Peter van 't Hof <p.j.van_t_hof@lumc.nl> + */ object WriteDependencies extends Logging with Configurable { val root: Configurable = null private val functionNames: mutable.Map[QFunction, String] = mutable.Map() @@ -27,6 +29,12 @@ object WriteDependencies extends Logging with Configurable { } } + /** + * This method will generate a json file where information about job and file dependencies are stored + * + * @param functions This should be all functions that are given to the graph of Queue + * @param outputFile Json file to write dependencies to + */ def writeDependencies(functions: Seq[QFunction], outputFile: File): Unit = { logger.info("Start calculating dependencies") -- GitLab