tech.jhipster.lite.project.domain.preset.PresetName Maven / Gradle / Ivy
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);
}
}