Class JsonSchemaExtension.TypeScanningSpec
- java.lang.Object
-
- org.creekservice.api.json.schema.gradle.plugin.JsonSchemaExtension.TypeScanningSpec
-
- Enclosing class:
- JsonSchemaExtension
public abstract static class JsonSchemaExtension.TypeScanningSpec extends java.lang.ObjectGradle extension for configuring which packages and modules are included when scanning for subtypes.
-
-
Constructor Summary
Constructors Constructor Description TypeScanningSpec()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract org.gradle.api.provider.ListProperty<java.lang.String>getModuleWhiteList()An optional list of module names used to limit type scanning to only the specified modules.abstract org.gradle.api.provider.ListProperty<java.lang.String>getPackageWhiteListed()An optional list of package name used to limit type scanning to only the specified packages.voidmoduleWhiteList(java.lang.String... moduleNames)Set modules to scan.voidpackageWhiteList(java.lang.String... packageNames)Set packages to scan.
-
-
-
Method Detail
-
getModuleWhiteList
public abstract org.gradle.api.provider.ListProperty<java.lang.String> getModuleWhiteList()
An optional list of module names used to limit type scanning to only the specified modules.Allowed module names can include the glob wildcard
*character.Default: empty, meaning all modules will be scanned.
- Returns:
- the module whitelist property
-
moduleWhiteList
public void moduleWhiteList(java.lang.String... moduleNames)
Set modules to scan.See
getModuleWhiteList()for more info.- Parameters:
moduleNames- the module names to allow.
-
getPackageWhiteListed
public abstract org.gradle.api.provider.ListProperty<java.lang.String> getPackageWhiteListed()
An optional list of package name used to limit type scanning to only the specified packages.Allowed package names can include the glob wildcard
*character.Default: empty, meaning all packages will be scanned.
- Returns:
- the property whitelist property
-
packageWhiteList
public void packageWhiteList(java.lang.String... packageNames)
Set packages to scan.See
getPackageWhiteListed()for more info.- Parameters:
packageNames- the package names to allow.
-
-