Commit fc7085f6 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Added some scaladocs

parent 20cb9393
......@@ -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")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment