tech.jhipster.lite.module.domain.file.JHipsterFilesToMove Maven / Gradle / Ivy
package tech.jhipster.lite.module.domain.file;
import java.util.Collection;
import java.util.stream.Stream;
import tech.jhipster.lite.shared.collection.domain.JHipsterCollections;
public record JHipsterFilesToMove(Collection files) {
public JHipsterFilesToMove(Collection files) {
this.files = JHipsterCollections.immutable(files);
}
public Stream stream() {
return files().stream();
}
}