Class HibernateDialectProviderExtension
java.lang.Object
org.hibernate.orm.tooling.dialectprovider.HibernateDialectProviderExtension
Configures validation and contract testing for an external Hibernate ORM Dialect provider.
Provider packages identify provider-owned bytecode. Contract profiles are provider-written implementations consumed by the generated JUnit bridge.
- Since:
- 8.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.gradle.api.provider.Property<Boolean> Whether provider verification participates in the Javachecklifecycle.abstract org.gradle.api.provider.Property<String> Base URL containing release-family classification metadata.abstract org.gradle.api.file.RegularFilePropertySelects a local classification document and disables network resolution.abstract org.gradle.api.provider.ListProperty<String> Ordered binary names of provider-written Dialect contract profiles.abstract org.gradle.api.file.ConfigurableFileCollectionResolved upstream Hibernate ORM artifacts to analyze.abstract org.gradle.api.provider.Property<String> The exact Hibernate ORM version used by the provider.abstract org.gradle.api.file.ConfigurableFileCollectionProvider-owned artifacts to analyze.abstract org.gradle.api.provider.ListProperty<String> Package prefixes which contain provider-owned classes.abstract org.gradle.api.provider.Property<Boolean> Configure whether warning findings should fail provider-boundary validation.
-
Constructor Details
-
HibernateDialectProviderExtension
public HibernateDialectProviderExtension()
-
-
Method Details
-
getProviderPackages
Package prefixes which contain provider-owned classes. -
getContractProfiles
Ordered binary names of provider-written Dialect contract profiles. -
getHibernateVersion
The exact Hibernate ORM version used by the provider. -
getClassificationMetadataFile
public abstract org.gradle.api.file.RegularFileProperty getClassificationMetadataFile()Selects a local classification document and disables network resolution. -
getClassificationMetadataBaseUrl
Base URL containing release-family classification metadata. -
getProviderArtifacts
public abstract org.gradle.api.file.ConfigurableFileCollection getProviderArtifacts()Provider-owned artifacts to analyze. -
getHibernateArtifacts
public abstract org.gradle.api.file.ConfigurableFileCollection getHibernateArtifacts()Resolved upstream Hibernate ORM artifacts to analyze. -
getAttachToCheck
Whether provider verification participates in the Javachecklifecycle. -
getWarningsAsErrors
Configure whether warning findings should fail provider-boundary validation.
Set this property to
truefor a strict build. The setting changes only the task outcome; reports retain each finding's declaredWARNINGseverity.
-