Examples of valueAsBoolean()


Examples of org.sonar.process.Props.valueAsBoolean()

    CommandLineParser cli = new CommandLineParser();
    Properties rawProperties = cli.parseArguments(args);
    Props props = new PropsBuilder(rawProperties, new JdbcSettings()).build();
    ProcessLogging logging = new ProcessLogging();
    logging.configure(props, "/org/sonar/application/logback.xml");
    if (props.valueAsBoolean("sonar.log.console", false)) {
      logging.addConsoleAppender();
    }

    App app = new App();
    app.start(props);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.