formatting
[yosql.git] / yosql-codegen / src / main / java / wtf / metio / yosql / codegen / files / FileResolver.java
blob98061e6ef35a1eb82704efdbfcfc4fc2350aa158
1 /*
2 * This file is part of yosql. It is subject to the license terms in the LICENSE file found in the top-level
3 * directory of this distribution and at https://creativecommons.org/publicdomain/zero/1.0/. No part of yosql,
4 * including this file, may be copied, modified, propagated, or distributed except according to the terms contained
5 * in the LICENSE file.
6 */
7 package wtf.metio.yosql.codegen.files;
9 import java.nio.file.Path;
10 import java.util.stream.Stream;
12 /**
13 * Resolves SQL files possibly from an external source, like the file system.
15 @FunctionalInterface
16 public interface FileResolver {
18 /**
19 * @return A stream of SQL files found in the source of this resolver.
21 Stream<Path> resolveFiles();