Package org.sonar.process

Examples of org.sonar.process.MinimumViableSystem


    File dir = new File(homeDir, relativePath);
    return FilenameUtils.concat(dir.getAbsolutePath(), "*");
  }

  public static void main(String[] args) throws Exception {
    new MinimumViableSystem().check();
    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");
View Full Code Here


  private final SearchSettings settings;
  private InternalNode node;

  public SearchServer(Props props) {
    this.settings = new SearchSettings(props);
    new MinimumViableSystem().check();
  }
View Full Code Here

public class WebServer implements Monitored {

  private final EmbeddedTomcat tomcat;

  WebServer(Props props) throws Exception {
    new MinimumViableSystem()
      .setRequiredJavaOption("file.encoding", "UTF-8")
      .check();
    this.tomcat = new EmbeddedTomcat(props);
  }
View Full Code Here

TOP

Related Classes of org.sonar.process.MinimumViableSystem

Copyright © 2018 www.massapicom. 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.