Package com.cleanroommc.tokenenvoy
Class TokenPathFilter
java.lang.Object
com.cleanroommc.tokenenvoy.TokenPathFilter
Decides whether a relative class or resource path should receive token replacement.
Matching is Gradle Ant-style PatternSet.
Class patterns that look like a fully-qualified name (com.example.Tokens or
com.example.Tokens.class) are rewritten to com/example/Tokens.class
before matching.
Gradle default excludes are not applied: an empty include list accepts every file,
and only the configured exclude list reject.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaccepts(org.gradle.api.file.FileTreeElement element) static TokenPathFilterof(Collection<String> includes, Collection<String> excludes, TokenPathFilter.Kind kind)
-
Method Details
-
of
public static TokenPathFilter of(Collection<String> includes, Collection<String> excludes, TokenPathFilter.Kind kind) -
accepts
public boolean accepts(org.gradle.api.file.FileTreeElement element) -
accepts
-