Interface Record<T>
-
- Type Parameters:
T- the type of values for this record
- All Known Implementing Classes:
RenderUnit
@ConsumerType public interface Record<T>ARecordis a key-value immutable object understood by the HTL runtime, used for abstracting complex objects like Sightly templates (declared with thedata-sly-templateblock element) or objects that need to be translated from Java to JavaScript and back.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TgetProperty(String name)Gets the value of a specified property.Set<String>getPropertyNames()Gets the set of names for this record's properties.
-