tech.jhipster.lite.generator.setup.license.application.LicenseApplicationService Maven / Gradle / Ivy
package tech.jhipster.lite.generator.setup.license.application;
import org.springframework.stereotype.Service;
import tech.jhipster.lite.generator.setup.license.domain.LicenseModuleFactory;
import tech.jhipster.lite.module.domain.JHipsterModule;
import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
@Service
public class LicenseApplicationService {
private final LicenseModuleFactory factory;
public LicenseApplicationService() {
this.factory = new LicenseModuleFactory();
}
public JHipsterModule buildMitModule(JHipsterModuleProperties properties) {
return factory.buildMitModule(properties);
}
public JHipsterModule buildApacheModule(JHipsterModuleProperties properties) {
return factory.buildApacheModule(properties);
}
}