diff options
Diffstat (limited to 'framework/src/main/java/org/onap/cli/fw/conf/OnapCommandConfg.java')
-rw-r--r-- | framework/src/main/java/org/onap/cli/fw/conf/OnapCommandConfg.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/framework/src/main/java/org/onap/cli/fw/conf/OnapCommandConfg.java b/framework/src/main/java/org/onap/cli/fw/conf/OnapCommandConfg.java index 249ec0e0..6c302b22 100644 --- a/framework/src/main/java/org/onap/cli/fw/conf/OnapCommandConfg.java +++ b/framework/src/main/java/org/onap/cli/fw/conf/OnapCommandConfg.java @@ -174,4 +174,11 @@ public final class OnapCommandConfg { return Arrays.stream(prps.getProperty(key).split(",")).map(String::trim).collect(Collectors.toList()); // NOSONAR } + public static String getMocoTargetFolder() { + return prps.getProperty(Constants.MOCO_TARGET_FOLDER, "."); + } + + public static boolean isMocoGenerateEnabled() { + return "true".equals(prps.getProperty(Constants.MOCO_ENABLED)); + } } |