From cfa336500d91a973d936d2a1c63bf55d407c7deb Mon Sep 17 00:00:00 2001 From: Nelson Tavares de Sousa <stu103017@mail.uni-kiel.de> Date: Wed, 10 Jun 2015 16:03:21 +0200 Subject: [PATCH] added javadoc --- src/main/java/teetime/framework/AnalysisConfiguration.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/teetime/framework/AnalysisConfiguration.java b/src/main/java/teetime/framework/AnalysisConfiguration.java index 99dd093a..56004767 100644 --- a/src/main/java/teetime/framework/AnalysisConfiguration.java +++ b/src/main/java/teetime/framework/AnalysisConfiguration.java @@ -64,6 +64,12 @@ public abstract class AnalysisConfiguration { this.threadableStageJobs.add(stage); } + /** + * Execute this method, to add a CompositeStage to the configuration, which should be executed in a own thread. + * + * @param stage + * A arbitrary CompositeStage, which will be added to the configuration and executed in a thread. + */ protected void addThreadableStage(final AbstractCompositeStage stage) { this.threadableStageJobs.add(stage.getFirstStage()); this.connections.addAll(stage.getConnections()); -- GitLab