From 253992345aea43f7dcd1ddd4148fefae3852a958 Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Fri, 3 Apr 2020 21:42:15 +0200 Subject: [PATCH] Fix SchemaFinder's Javadoc Resolves: https://github.com/kobylynskyi/graphql-java-codegen/issues/36 --- .../graphql/codegen/supplier/SchemaFinder.java | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/kobylynskyi/graphql/codegen/supplier/SchemaFinder.java b/src/main/java/com/kobylynskyi/graphql/codegen/supplier/SchemaFinder.java index 0851e1189..23da9b5b8 100644 --- a/src/main/java/com/kobylynskyi/graphql/codegen/supplier/SchemaFinder.java +++ b/src/main/java/com/kobylynskyi/graphql/codegen/supplier/SchemaFinder.java @@ -41,15 +41,21 @@ public SchemaFinder(Path rootDir) { } /** - * Sets whether the file search should be recursive. + * Sets whether this finder should recursively search in nested directories. + * + * @param recursive + * whether the file search should be recursive */ public void setRecursive(boolean recursive) { this.recursive = recursive; } /** - * Sets the Java pattern that filenames should match to be included in the result. Matching files are only included - * if they're not part of the excluded files. + * Sets the pattern that filenames should match to be included in the result. Matching files are only included if + * they're not part of the excluded files. + * + * @param includePattern + * a regular expression pattern as defined by the {@link Pattern} class * * @see #setExcludedFiles(Set) */ @@ -61,6 +67,9 @@ public void setIncludePattern(String includePattern) { * Sets a set of paths to exclude from the search even if they match the include pattern. The provided paths are * either absolute or relative to the root directory provided in the constructor. * + * @param excludedFiles + * a set of exact file paths to exclude from the search + * * @see #setIncludePattern(String) */ public void setExcludedFiles(Set excludedFiles) {