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

tech.jhipster.lite.project.domain.preset.PresetName Maven / Gradle / Ivy

There is a newer version: 1.22.0
Show newest version
package tech.jhipster.lite.project.domain.preset;

import tech.jhipster.lite.shared.error.domain.Assert;

public record PresetName(String name) {
  public PresetName {
    Assert.notBlank("name", name);
  }

  public static PresetName from(String name) {
    return new PresetName(name);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy