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

tech.jhipster.lite.generator.server.webjars.application.WebjarsApplicationService Maven / Gradle / Ivy

There is a newer version: 1.22.0
Show newest version
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);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy