All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tech.jhipster.lite.generator.init.application.InitApplicationService Maven / Gradle / Ivy

There is a newer version: 1.18.1
Show newest version
package tech.jhipster.lite.generator.init.application;

import org.springframework.stereotype.Service;
import tech.jhipster.lite.generator.init.domain.InitModuleFactory;
import tech.jhipster.lite.module.domain.JHipsterModule;
import tech.jhipster.lite.module.domain.npm.NpmVersions;
import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;

@Service
public class InitApplicationService {

  private final InitModuleFactory factory;

  public InitApplicationService(NpmVersions npmVersions) {
    factory = new InitModuleFactory(npmVersions);
  }

  public JHipsterModule buildModule(JHipsterModuleProperties properties) {
    return factory.buildModule(properties);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy