Record Class ProviderBoundaryAnalyzer.Diagnostic
java.lang.Object
java.lang.Record
org.hibernate.orm.tooling.dialectprovider.internal.ProviderBoundaryAnalyzer.Diagnostic
- Enclosing class:
ProviderBoundaryAnalyzer
public static record ProviderBoundaryAnalyzer.Diagnostic(ProviderBoundaryCause cause, String source, String target, String edge, String targetCategory, Set<String> targetRoles, List<String> path, String providerArtifact, String upstreamArtifact)
extends Record
A deterministic provider-boundary diagnostic.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncause()Returns the value of thecauserecord component.edge()Returns the value of theedgerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.path()Returns the value of thepathrecord component.Returns the value of theproviderArtifactrecord component.severity()source()Returns the value of thesourcerecord component.target()Returns the value of thetargetrecord component.Returns the value of thetargetCategoryrecord component.Returns the value of thetargetRolesrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theupstreamArtifactrecord component.
-
Constructor Details
-
Diagnostic
public Diagnostic(ProviderBoundaryCause cause, String source, String target, String edge, String targetCategory, Set<String> targetRoles, List<String> path, String providerArtifact, String upstreamArtifact) Creates an instance of aDiagnosticrecord class.- Parameters:
cause- the value for thecauserecord componentsource- the value for thesourcerecord componenttarget- the value for thetargetrecord componentedge- the value for theedgerecord componenttargetCategory- the value for thetargetCategoryrecord componenttargetRoles- the value for thetargetRolesrecord componentpath- the value for thepathrecord componentproviderArtifact- the value for theproviderArtifactrecord componentupstreamArtifact- the value for theupstreamArtifactrecord component
-
-
Method Details
-
severity
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
cause
Returns the value of thecauserecord component.- Returns:
- the value of the
causerecord component
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
target
Returns the value of thetargetrecord component.- Returns:
- the value of the
targetrecord component
-
edge
Returns the value of theedgerecord component.- Returns:
- the value of the
edgerecord component
-
targetCategory
Returns the value of thetargetCategoryrecord component.- Returns:
- the value of the
targetCategoryrecord component
-
targetRoles
-
path
-
providerArtifact
Returns the value of theproviderArtifactrecord component.- Returns:
- the value of the
providerArtifactrecord component
-
upstreamArtifact
Returns the value of theupstreamArtifactrecord component.- Returns:
- the value of the
upstreamArtifactrecord component
-