Package com.puppetlabs.geppetto.validation.impl

Examples of com.puppetlabs.geppetto.validation.impl.ValidationModule


  @Before
  public void setUp() {
    RubyHelper.setRubyServicesFactory(JRubyServices.FACTORY);
    ValidationOptions options = getValidationOptions();
    new PPDiagnosticsSetup(options.getComplianceLevel(), options.getProblemsAdvisor()).createInjectorAndDoEMFRegistration();
    injector = Guice.createInjector(GsonModule.INSTANCE, new ForgeModule(), new ValidationModule());
  }
View Full Code Here


  private transient Logger log;

  protected void addModules(Diagnostic diagnostic, List<Module> modules) {
    modules.add(new ForgeMavenModule(getFileFilter(), session.getCurrentProject()));
    modules.add(new ValidationModule());
    modules.add(getCommonModule());
  }
View Full Code Here

  public void setUp() {
    RubyHelper.setRubyServicesFactory(JRubyServices.FACTORY);
    ValidationOptions options = getValidationOptions();
    injector = new PPDiagnosticsSetup(options.getComplianceLevel(), options.getProblemsAdvisor()).createInjectorAndDoEMFRegistration();
    injector = injector.createChildInjector(
      GsonModule.INSTANCE, new ForgeModule(), new ValidationModule(), new DependencyGraphModule(
        JavascriptHrefProducer.class, ""));
  }
View Full Code Here

TOP

Related Classes of com.puppetlabs.geppetto.validation.impl.ValidationModule

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.