tech.jhipster.lite.generator.server.webjars.application.WebjarsApplicationService Maven / Gradle / Ivy
package tech.jhipster.lite.generator.server.webjars.application;
import org.springframework.stereotype.Service;
import tech.jhipster.lite.generator.server.webjars.domain.WebjarsModuleFactory;
import tech.jhipster.lite.module.domain.JHipsterModule;
import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
@Service
public class WebjarsApplicationService {
private final WebjarsModuleFactory webjarsModuleFactory;
public WebjarsApplicationService() {
webjarsModuleFactory = new WebjarsModuleFactory();
}
public JHipsterModule buildWebjarsLocatorModule(JHipsterModuleProperties properties) {
return webjarsModuleFactory.buildWebjarsLocatorModule(properties);
}
public JHipsterModule buildWebjarsHtmxModule(JHipsterModuleProperties properties) {
return webjarsModuleFactory.buildWebjarsHtmxModule(properties);
}
public JHipsterModule buildWebjarsAlpineJSModule(JHipsterModuleProperties properties) {
return webjarsModuleFactory.buildWebjarsAlpineJSModule(properties);
}
}