From 0ad490ef9093a16c45dbb85cdabb03602d719ec9 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Sat, 20 Feb 2016 12:05:17 -0800 Subject: [PATCH] Doc. --- .../src/main/kotlin/com/beust/kobalt/FileSpec.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/FileSpec.kt b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/FileSpec.kt index dbd37cb6..2b81cbff 100644 --- a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/FileSpec.kt +++ b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/FileSpec.kt @@ -18,6 +18,9 @@ sealed class IFileSpec { override fun toString() = spec } + /** + * A glob matcher, see http://docs.oracle.com/javase/7/docs/api/java/nio/file/FileSystem.html#getPathMatcher%28java.lang.String%29 + */ class GlobSpec(val spec: List) : IFileSpec() { constructor(spec: String) : this(arrayListOf(spec))