Record Class GenerationReport.ConfigPropertyGenerationViolation
java.lang.Object
java.lang.Record
io.quarkus.maven.config.doc.generator.GenerationReport.ConfigPropertyGenerationViolation
- All Implemented Interfaces:
GenerationReport.GenerationViolation
- Enclosing class:
GenerationReport
public static record GenerationReport.ConfigPropertyGenerationViolation(String sourceType, String sourceElement, io.quarkus.annotation.processor.documentation.config.model.SourceElementType sourceElementType, String message)
extends Record
implements GenerationReport.GenerationViolation
-
Constructor Summary
ConstructorsConstructorDescriptionConfigPropertyGenerationViolation(String sourceType, String sourceElement, io.quarkus.annotation.processor.documentation.config.model.SourceElementType sourceElementType, String message) Creates an instance of aConfigPropertyGenerationViolationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.Returns the value of thesourceElementrecord component.io.quarkus.annotation.processor.documentation.config.model.SourceElementTypeReturns the value of thesourceElementTyperecord component.Returns the value of thesourceTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConfigPropertyGenerationViolation
public ConfigPropertyGenerationViolation(String sourceType, String sourceElement, io.quarkus.annotation.processor.documentation.config.model.SourceElementType sourceElementType, String message) Creates an instance of aConfigPropertyGenerationViolationrecord class.- Parameters:
sourceType- the value for thesourceTyperecord componentsourceElement- the value for thesourceElementrecord componentsourceElementType- the value for thesourceElementTyperecord componentmessage- the value for themessagerecord component
-
-
Method Details
-
sourceElement
Returns the value of thesourceElementrecord component.- Specified by:
sourceElementin interfaceGenerationReport.GenerationViolation- Returns:
- the value of the
sourceElementrecord component
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
sourceType
Returns the value of thesourceTyperecord component.- Specified by:
sourceTypein interfaceGenerationReport.GenerationViolation- Returns:
- the value of the
sourceTyperecord component
-
sourceElementType
public io.quarkus.annotation.processor.documentation.config.model.SourceElementType sourceElementType()Returns the value of thesourceElementTyperecord component.- Returns:
- the value of the
sourceElementTyperecord component
-
message
Returns the value of themessagerecord component.- Specified by:
messagein interfaceGenerationReport.GenerationViolation- Returns:
- the value of the
messagerecord component
-