# PatternSet

open class PatternSet : AntBuilderAware, PatternFilterable

Standalone implementation of PatternFilterable.

## Constructors

PatternSet
Link copied to clipboard
constructor()

## Properties

excludes
Link copied to clipboard
open val excludes: Set<String>
excludeSpecs
Link copied to clipboard
open val excludeSpecs: Set<Spec<FileTreeElement>>
includes
Link copied to clipboard
open val includes: Set<String>
includeSpecs
Link copied to clipboard
open val includeSpecs: Set<Spec<FileTreeElement>>

## Functions

addToAntBuilder
Link copied to clipboard
open fun addToAntBuilder(node: Any, childNodeName: String): Any
copyFrom
Link copied to clipboard
open fun copyFrom(sourcePattern: PatternFilterable): PatternSet
equals
Link copied to clipboard
open fun equals(@Nullable o: @Nullable Any): Boolean
exclude
Link copied to clipboard
open fun exclude(closure: Closure): PatternSet
open fun exclude(excludes: Iterable): PatternSet
open fun exclude(excludes: Array<String>): PatternSet
open fun exclude(spec: Spec<FileTreeElement>): PatternSet
excludeSpecs
Link copied to clipboard
open fun excludeSpecs(excludes: Iterable<Spec<FileTreeElement>>): PatternSet
getAsExcludeSpec
Link copied to clipboard
open fun getAsExcludeSpec(): Spec<FileTreeElement>
getAsIncludeSpec
Link copied to clipboard
open fun getAsIncludeSpec(): Spec<FileTreeElement>
getAsSpec
Link copied to clipboard
open fun getAsSpec(): Spec<FileTreeElement>
getExcludes
Link copied to clipboard
abstract fun getExcludes(): Set<String>
getExcludeSpecsView
Link copied to clipboard
@Incubating
open fun getExcludeSpecsView(): Set<Spec<FileTreeElement>>
Like getExcludeSpecs, but returns a unmodifiable view or empty set.
getExcludesView
Link copied to clipboard
@Incubating
open fun getExcludesView(): Set<String>
Like getExcludes, but returns a unmodifiable view or empty set.
getIncludes
Link copied to clipboard
abstract fun getIncludes(): Set<String>
getIncludeSpecsView
Link copied to clipboard
@Incubating
open fun getIncludeSpecsView(): Set<Spec<FileTreeElement>>
Like getIncludeSpecs, but returns a unmodifiable view or empty set.
getIncludesView
Link copied to clipboard
@Incubating
open fun getIncludesView(): Set<String>
Like getIncludes, but returns a unmodifiable view or empty set.
hashCode
Link copied to clipboard
open fun hashCode(): Int
include
Link copied to clipboard
open fun include(closure: Closure): PatternSet
open fun include(includes: Iterable): PatternSet
open fun include(includes: Array<String>): PatternSet
open fun include(spec: Spec<FileTreeElement>): PatternSet
includeSpecs
Link copied to clipboard
open fun includeSpecs(includeSpecs: Iterable<Spec<FileTreeElement>>): PatternSet
intersect
Link copied to clipboard
open fun intersect(): PatternSet
isCaseSensitive
Link copied to clipboard
open fun isCaseSensitive(): Boolean
isEmpty
Link copied to clipboard
open fun isEmpty(): Boolean
The PatternSet is considered empty when no includes or excludes have been added.
setCaseSensitive
Link copied to clipboard
open fun setCaseSensitive(caseSensitive: Boolean)
setExcludes
Link copied to clipboard
open fun setExcludes(excludes: Iterable<String>): PatternSet
setIncludes
Link copied to clipboard
open fun setIncludes(includes: Iterable<String>): PatternSet