gradle
8.2

# PatternSet

open class PatternSet : AntBuilderAware, PatternFilterable

Standalone implementation of PatternFilterable.

## Constructors

PatternSet
Link copied to clipboard
constructor()

## 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: 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>
getIncludes
Link copied to clipboard
abstract fun getIncludes(): Set<String>
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

## 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>>