Record Class ReferenceBody.TextBody.RenderedText
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.designer.ai.embed.ReferenceBody.TextBody.RenderedText
- All Implemented Interfaces:
ReferenceBody, ReferenceBody.TextBody
- Enclosing interface:
ReferenceBody.TextBody
public static record ReferenceBody.TextBody.RenderedText(String rendered)
extends Record
implements ReferenceBody.TextBody
Concrete
ReferenceBody.TextBody that carries only its rendered wire text.-
Nested Class Summary
Nested classes/interfaces inherited from interface ReferenceBody
ReferenceBody.TextBodyNested classes/interfaces inherited from interface ReferenceBody.TextBody
ReferenceBody.TextBody.RenderedText -
Constructor Summary
ConstructorsConstructorDescriptionRenderedText(String rendered) Creates an instance of aRenderedTextrecord 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.rendered()Returns the value of therenderedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RenderedText
Creates an instance of aRenderedTextrecord class.- Parameters:
rendered- the value for therenderedrecord component
-
-
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). -
rendered
Returns the value of therenderedrecord component.- Specified by:
renderedin interfaceReferenceBody.TextBody- Returns:
- the value of the
renderedrecord component
-