Record Class TextEngine.Published
java.lang.Object
java.lang.Record
com.ultikits.ultitools.text.internal.TextEngine.Published
- Enclosing class:
TextEngine
private static record TextEngine.Published(Object owner, String pluginName, Catalogue catalogue, @Nullable TextEngine.Prepared prepared, @Nullable TextEngine.Published previous)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CatalogueThe field for thecataloguerecord component.private final ObjectThe field for theownerrecord component.private final StringThe field for thepluginNamerecord component.private final @Nullable TextEngine.PreparedThe field for thepreparedrecord component.private final @Nullable TextEngine.PublishedThe field for thepreviousrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePublished(Object owner, String pluginName, Catalogue catalogue, @Nullable TextEngine.Prepared prepared, @Nullable TextEngine.Published previous) Creates an instance of aPublishedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecataloguerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.owner()Returns the value of theownerrecord component.Returns the value of thepluginNamerecord component.@Nullable TextEngine.Preparedprepared()Returns the value of thepreparedrecord component.@Nullable TextEngine.Publishedprevious()Returns the value of thepreviousrecord component.final StringtoString()Returns a string representation of this record class.(package private) TextEngine.PublishedwithPrevious(@Nullable TextEngine.Published snapshot)
-
Field Details
-
owner
The field for theownerrecord component. -
pluginName
The field for thepluginNamerecord component. -
catalogue
The field for thecataloguerecord component. -
prepared
The field for thepreparedrecord component. -
previous
The field for thepreviousrecord component.
-
-
Constructor Details
-
Published
private Published(Object owner, String pluginName, Catalogue catalogue, @Nullable @Nullable TextEngine.Prepared prepared, @Nullable @Nullable TextEngine.Published previous) Creates an instance of aPublishedrecord class.- Parameters:
owner- the value for theownerrecord componentpluginName- the value for thepluginNamerecord componentcatalogue- the value for thecataloguerecord componentprepared- the value for thepreparedrecord componentprevious- the value for thepreviousrecord component
-
-
Method Details
-
withPrevious
-
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). -
owner
Returns the value of theownerrecord component.- Returns:
- the value of the
ownerrecord component
-
pluginName
Returns the value of thepluginNamerecord component.- Returns:
- the value of the
pluginNamerecord component
-
catalogue
Returns the value of thecataloguerecord component.- Returns:
- the value of the
cataloguerecord component
-
prepared
Returns the value of thepreparedrecord component.- Returns:
- the value of the
preparedrecord component
-
previous
Returns the value of thepreviousrecord component.- Returns:
- the value of the
previousrecord component
-