PatternSet

Standalone implementation of PatternFilterable.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open val excludes: Set<String>
Link copied to clipboard
Link copied to clipboard
open val includes: Set<String>
Link copied to clipboard

Functions

Link copied to clipboard
open fun addToAntBuilder(node: Any, childNodeName: String): Any
Link copied to clipboard
open fun copyFrom(sourcePattern: PatternFilterable): PatternSet
Link copied to clipboard
open fun equals(@Nullable o: @Nullable Any): Boolean
Link copied to clipboard
open fun exclude(closure: Closure): PatternSet
Adds an exclude spec.
open fun exclude(excludes: Iterable): PatternSet
open fun exclude(excludes: Array<String>): PatternSet
Adds an ANT style exclude pattern.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Like getExcludeSpecs, but returns a unmodifiable view or empty set.
Link copied to clipboard
Like getExcludes, but returns a unmodifiable view or empty set.
Link copied to clipboard
Like getIncludeSpecs, but returns a unmodifiable view or empty set.
Link copied to clipboard
Like getIncludes, but returns a unmodifiable view or empty set.
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun include(closure: Closure): PatternSet
Adds an include spec.
open fun include(includes: Iterable): PatternSet
open fun include(includes: Array<String>): PatternSet
Adds an ANT style include pattern.
Link copied to clipboard
Link copied to clipboard
open fun intersect(): PatternSet
Link copied to clipboard
Link copied to clipboard
open fun isEmpty(): Boolean
The PatternSet is considered empty when no includes or excludes have been added.
Link copied to clipboard
open fun setCaseSensitive(caseSensitive: Boolean)
Link copied to clipboard
open fun setExcludes(excludes: Iterable<String>): PatternSet
Set the allowable exclude patterns.
Link copied to clipboard
open fun setIncludes(includes: Iterable<String>): PatternSet
Set the allowable include patterns.