Record Class GenerationReport.NoValidValue
java.lang.Object
java.lang.Record
com.arc_e_tect.gradle.apionly.transcriberj.core.GenerationReport.NoValidValue
- Record Components:
className- the class it is inmethod- the methodlocation- the JSON pointer of the schema or parameter that has no valid valuereason- why
- Enclosing class:
GenerationReport
public static record GenerationReport.NoValidValue(String className, String method, String location, String reason)
extends Record
A generated method that throws because no valid value could be generated for it:
none exists, this generator cannot find one, or it reaches a construct no rule
represents yet.
-
Constructor Summary
ConstructorsConstructorDescriptionNoValidValue(String className, String method, String location, String reason) Creates an instance of aNoValidValuerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclassNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.location()Returns the value of thelocationrecord component.method()Returns the value of themethodrecord component.reason()Returns the value of thereasonrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
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). -
className
Returns the value of theclassNamerecord component.- Returns:
- the value of the
classNamerecord component
-
method
Returns the value of themethodrecord component.- Returns:
- the value of the
methodrecord component
-
location
Returns the value of thelocationrecord component.- Returns:
- the value of the
locationrecord component
-
reason
Returns the value of thereasonrecord component.- Returns:
- the value of the
reasonrecord component
-