Record Class DependencyInjectionError
java.lang.Object
java.lang.Record
io.micronaut.jsonschema.configuration.validator.DependencyInjectionError
- Record Components:
rootBean- The root reachable bean where validation startedbean- The missing, disabled, or circular bean type involved in the failuremessage- Human-readable error detailinjectionPoint- Injection point description (constructor, field, or method)disabledReason- Optional reason reported by Micronaut for disabled beansfailingPath- Graph path from root bean to the failuresnippet- Best-effort snippet representing the failing injection pointsnippetLanguage- Snippet language identifier
@Introspected
public record DependencyInjectionError(String rootBean, String bean, String message, @Nullable String injectionPoint, @Nullable String disabledReason, List<String> failingPath, @Nullable String snippet, @Nullable String snippetLanguage)
extends Record
Describes one dependency-injection validation failure.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbean()Returns the value of thebeanrecord component.@Nullable StringReturns the value of thedisabledReasonrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefailingPathrecord component.final inthashCode()Returns a hash code value for this object.@Nullable StringReturns the value of theinjectionPointrecord component.message()Returns the value of themessagerecord component.rootBean()Returns the value of therootBeanrecord component.@Nullable Stringsnippet()Returns the value of thesnippetrecord component.@Nullable StringReturns the value of thesnippetLanguagerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DependencyInjectionError
-
-
Method Details
-
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). -
rootBean
-
bean
-
message
-
injectionPoint
Returns the value of theinjectionPointrecord component.- Returns:
- the value of the
injectionPointrecord component
-
disabledReason
Returns the value of thedisabledReasonrecord component.- Returns:
- the value of the
disabledReasonrecord component
-
failingPath
Returns the value of thefailingPathrecord component.- Returns:
- the value of the
failingPathrecord component
-
snippet
-
snippetLanguage
Returns the value of thesnippetLanguagerecord component.- Returns:
- the value of the
snippetLanguagerecord component
-