Interface GenerateContractSourcesAction.Parameters
- All Superinterfaces:
org.gradle.workers.WorkParameters
- Enclosing class:
GenerateContractSourcesAction
public static interface GenerateContractSourcesAction.Parameters
extends org.gradle.workers.WorkParameters
What the task hands over.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gradle.workers.WorkParameters
org.gradle.workers.WorkParameters.None -
Method Summary
Modifier and TypeMethodDescriptionorg.gradle.api.file.ConfigurableFileCollectionThe contract's AsyncAPI document, or nothing when it has none.org.gradle.api.provider.Property<String> The base package.org.gradle.api.file.RegularFilePropertyThe fetched contract document.org.gradle.api.provider.Property<String> The contract's name.org.gradle.api.provider.Property<String> The locked hash.org.gradle.api.provider.Property<String> The locked version.org.gradle.api.provider.Property<String> The base name of the bundle descriptions resolve through, or absent when the project supplies none.org.gradle.api.provider.Property<String> The description placeholder.org.gradle.api.file.RegularFilePropertyWhere the endpoint index goes.org.gradle.api.provider.Property<Boolean> Whether descriptions come from the contract.org.gradle.api.file.DirectoryPropertyWhere the sources go.org.gradle.api.provider.Property<Integer> The recursion depth.org.gradle.api.file.RegularFilePropertyWhere the report goes.
-
Method Details
-
getContract
org.gradle.api.file.RegularFileProperty getContract()The fetched contract document.- Returns:
- the document
-
getAsyncContract
org.gradle.api.file.ConfigurableFileCollection getAsyncContract()The contract's AsyncAPI document, or nothing when it has none.- Returns:
- the document
-
getContractVersion
org.gradle.api.provider.Property<String> getContractVersion()The locked version.- Returns:
- the version
-
getContractSha256
org.gradle.api.provider.Property<String> getContractSha256()The locked hash.- Returns:
- the hash
-
getContractName
org.gradle.api.provider.Property<String> getContractName()The contract's name.- Returns:
- the name
-
getBasePackage
org.gradle.api.provider.Property<String> getBasePackage()The base package.- Returns:
- the package
-
getRecursionDepth
org.gradle.api.provider.Property<Integer> getRecursionDepth()The recursion depth.- Returns:
- the depth
-
getGenerateDocs
org.gradle.api.provider.Property<Boolean> getGenerateDocs()Whether descriptions come from the contract.- Returns:
- the setting
-
getDescriptionPlaceholder
org.gradle.api.provider.Property<String> getDescriptionPlaceholder()The description placeholder.- Returns:
- the placeholder
-
getDescriptionBundle
org.gradle.api.provider.Property<String> getDescriptionBundle()The base name of the bundle descriptions resolve through, or absent when the project supplies none.- Returns:
- the bundle's base name
-
getOutputDirectory
org.gradle.api.file.DirectoryProperty getOutputDirectory()Where the sources go.- Returns:
- the directory
-
getEndpointIndex
org.gradle.api.file.RegularFileProperty getEndpointIndex()Where the endpoint index goes.- Returns:
- the index
-
getReportFile
org.gradle.api.file.RegularFileProperty getReportFile()Where the report goes.- Returns:
- the report
-