Record Class TextEngine.Prepared
java.lang.Object
java.lang.Record
com.ultikits.ultitools.text.internal.TextEngine.Prepared
- Record Components:
pluginName- the unnormalized catalogue owner name, used in diagnosticscodeSource- the owner's resource source, never a shared-loader lookupoverrideDirectory- the operator-owned messages directoryloaded- parsed shipped resources and deferred diagnostics
- Enclosing class:
TextEngine
@Internal
public static record TextEngine.Prepared(String pluginName, @Nullable URL codeSource, Path overrideDirectory, CatalogueLoader.Loaded loaded)
extends Record
A read-only preparation result: constructing it neither registers nor writes anything.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @Nullable URLThe field for thecodeSourcerecord component.private final CatalogueLoader.LoadedThe field for theloadedrecord component.private final PathThe field for theoverrideDirectoryrecord component.private final StringThe field for thepluginNamerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionPrepared(String pluginName, @Nullable URL codeSource, Path overrideDirectory, CatalogueLoader.Loaded loaded) Creates an instance of aPreparedrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable URLReturns the value of thecodeSourcerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.loaded()Returns the value of theloadedrecord component.Returns the value of theoverrideDirectoryrecord component.Returns the value of thepluginNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
pluginName
The field for thepluginNamerecord component. -
codeSource
The field for thecodeSourcerecord component. -
overrideDirectory
The field for theoverrideDirectoryrecord component. -
loaded
The field for theloadedrecord component.
-
-
Constructor Details
-
Prepared
public Prepared(String pluginName, @Nullable @Nullable URL codeSource, Path overrideDirectory, CatalogueLoader.Loaded loaded) Creates an instance of aPreparedrecord class.- Parameters:
pluginName- the value for thepluginNamerecord componentcodeSource- the value for thecodeSourcerecord componentoverrideDirectory- the value for theoverrideDirectoryrecord componentloaded- the value for theloadedrecord 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). -
pluginName
Returns the value of thepluginNamerecord component.- Returns:
- the value of the
pluginNamerecord component
-
codeSource
Returns the value of thecodeSourcerecord component.- Returns:
- the value of the
codeSourcerecord component
-
overrideDirectory
Returns the value of theoverrideDirectoryrecord component.- Returns:
- the value of the
overrideDirectoryrecord component
-
loaded
-