diff --git a/src/main/kotlin/runner/Parser.kt b/src/main/kotlin/runner/Parser.kt index a09cd52..65fe073 100644 --- a/src/main/kotlin/runner/Parser.kt +++ b/src/main/kotlin/runner/Parser.kt @@ -89,8 +89,7 @@ class Parser(file: File) { return processors } - fun getStages(): List { - val processors = getProcessors() + fun getStages(processors: List): List { return listOf(Stage(processors[0], listOf("JVM Runner"))) } } diff --git a/src/main/kotlin/runner/Pipeline.kt b/src/main/kotlin/runner/Pipeline.kt index 9a33bce..e3b3793 100644 --- a/src/main/kotlin/runner/Pipeline.kt +++ b/src/main/kotlin/runner/Pipeline.kt @@ -19,7 +19,7 @@ class Pipeline(config: File) { val processors = parser.getProcessors() this.processors.putAll(processors.map { it.name to it }) - this.stages = parser.getStages() + this.stages = parser.getStages(processors) } /** diff --git a/src/main/kotlin/util/Reflect.kt b/src/main/kotlin/util/Reflect.kt index 0ec2e36..92cc97f 100644 --- a/src/main/kotlin/util/Reflect.kt +++ b/src/main/kotlin/util/Reflect.kt @@ -68,7 +68,9 @@ class Reflect { }.toTypedArray() logger.info( - "Retrieving method $name with arguments ${args.joinToString()}", + "Retrieving method $name with arguments [${args.joinToString( + ", ", + )}]", ) return try {