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

generator.server.springboot.custom-jhlite.main.FeatureSlug.mustache Maven / Gradle / Ivy

There is a newer version: 1.22.0
Show newest version
package {{ packageName }}.shared.slug.domain;

import tech.jhipster.lite.module.domain.resource.JHipsterFeatureSlugFactory;
import {{packageName}}.shared.generation.domain.ExcludeFromGeneratedCodeCoverage;

@ExcludeFromGeneratedCodeCoverage
public enum {{ baseName }}FeatureSlug implements JHipsterFeatureSlugFactory {
  // Add here the slugs of your features
  // e.g.: MY_FEATURE("my-feature")
  ;

  private final String slug;

  @SuppressWarnings("java:S1144")
  {{ baseName }}FeatureSlug(String slug) {
    this.slug = slug;
  }

  @Override
  public String get() {
    return slug;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy