Package io.quarkus.qute
Record Class RenderedResults.RenderedResult
java.lang.Object
java.lang.Record
io.quarkus.qute.RenderedResults.RenderedResult
- Record Components:
id- The template idresult- The rendered contenttimestamp- The timestamp this result was created at
- Enclosing class:
- RenderedResults
public static record RenderedResults.RenderedResult(String templateId, String result, LocalDateTime timestamp)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionRenderedResult(String templateId, String result, LocalDateTime timestamp) Creates an instance of aRenderedResultrecord 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.result()Returns the value of theresultrecord component.Returns the value of thetemplateIdrecord component.Returns the value of thetimestamprecord 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). -
templateId
Returns the value of thetemplateIdrecord component.- Returns:
- the value of the
templateIdrecord component
-
result
Returns the value of theresultrecord component.- Returns:
- the value of the
resultrecord component
-
timestamp
Returns the value of thetimestamprecord component.- Returns:
- the value of the
timestamprecord component
-