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

tech.jhipster.lite.generator.setup.license.application.LicenseApplicationService Maven / Gradle / Ivy

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy