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

tech.jhipster.lite.module.domain.JHipsterProjectFilePath Maven / Gradle / Ivy

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

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

public record JHipsterProjectFilePath(String path) {
  public JHipsterProjectFilePath {
    Assert.notBlank("path", path);
  }

  public JHipsterProjectFilePath append(String path) {
    Assert.notBlank("path", path);

    return new JHipsterProjectFilePath(path() + "/" + path);
  }

  public String get() {
    return path();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy