changeset 1215:afd31c0205e9

CliHelper.readConfiguration(File configFile)
author Devel 2
date Wed, 24 Jun 2020 09:31:48 +0200
parents f6ebddf4c8f2
children c4f9e819ebe0
files stress-tester/src/main/java/com/passus/st/CliHelper.java
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stress-tester/src/main/java/com/passus/st/CliHelper.java	Wed Jun 24 09:31:23 2020 +0200
+++ b/stress-tester/src/main/java/com/passus/st/CliHelper.java	Wed Jun 24 09:31:48 2020 +0200
@@ -231,6 +231,10 @@
 
     public Configuration readConfiguration(String configFileName) throws IOException, NodeException {
         File configFile = new File(configFileName);
+        return readConfiguration(configFile);
+    }
+
+    public Configuration readConfiguration(File configFile) throws IOException, NodeException {
         if (!configFile.exists()) {
             printError("File '" + configFile + "' does not exists.");
         }