Class RuntimeUtil
java.lang.Object
org.apache.camel.dsl.jbang.core.common.RuntimeUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidconfigureLog(String level, boolean color, boolean json, boolean script, boolean export, String loggingConfigPath, List<String> loggingCategories) getCommaSeparatedPropertyAsList(Properties props, String key, List<String> defaultValue) static StringgetDependencies(Properties properties) static String[]getDependenciesAsArray(Properties properties) static StringgetPid()static voidloadProperties(Properties properties, File file) loadPropertiesLines(File file) static voidsetRootLoggingLevel(String level)
-
Method Details
-
configureLog
public static void configureLog(String level, boolean color, boolean json, boolean script, boolean export, String loggingConfigPath, List<String> loggingCategories) throws Exception - Throws:
Exception
-
setRootLoggingLevel
-
loadProperties
- Throws:
IOException
-
loadPropertiesLines
- Throws:
IOException
-
getCommaSeparatedPropertyAsList
-
getDependencies
-
getDependenciesAsArray
-
getPid
-