tech.jhipster.lite.generator.prettier.application.PrettierApplicationService Maven / Gradle / Ivy
package tech.jhipster.lite.generator.prettier.application;
import org.springframework.stereotype.Service;
import tech.jhipster.lite.generator.prettier.domain.PrettierModuleFactory;
import tech.jhipster.lite.module.domain.JHipsterModule;
import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
@Service
public class PrettierApplicationService {
private final PrettierModuleFactory factory;
public PrettierApplicationService() {
factory = new PrettierModuleFactory();
}
public JHipsterModule buildModule(JHipsterModuleProperties properties) {
return factory.buildModule(properties);
}
}