Record Class AnahataUcUtils.InstalledModuleDetails
java.lang.Object
java.lang.Record
uno.anahata.asi.nb.uc.AnahataUcUtils.InstalledModuleDetails
- Record Components:
specVersion- The specification version (e.g. "1.1.2").implVersion- The implementation version string (e.g. "1.1.2-20260824").buildVersion- The build version string (e.g. "202608241014").enabled- Whether the module is currently active/enabled.
- Enclosing class:
AnahataUcUtils
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringThe field for thebuildVersionrecord component.private final booleanThe field for theenabledrecord component.private final StringThe field for theimplVersionrecord component.private final StringThe field for thespecVersionrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionInstalledModuleDetails(String specVersion, String implVersion, String buildVersion, boolean enabled) Creates an instance of aInstalledModuleDetailsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebuildVersionrecord component.booleanenabled()Returns the value of theenabledrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theimplVersionrecord component.Returns the value of thespecVersionrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
specVersion
The field for thespecVersionrecord component. -
implVersion
The field for theimplVersionrecord component. -
buildVersion
The field for thebuildVersionrecord component. -
enabled
private final boolean enabledThe field for theenabledrecord component.
-
-
Constructor Details
-
InstalledModuleDetails
public InstalledModuleDetails(String specVersion, String implVersion, String buildVersion, boolean enabled) Creates an instance of aInstalledModuleDetailsrecord class.- Parameters:
specVersion- the value for thespecVersionrecord componentimplVersion- the value for theimplVersionrecord componentbuildVersion- the value for thebuildVersionrecord componentenabled- the value for theenabledrecord component
-
-
Method Details
-
toFormattedString
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
specVersion
Returns the value of thespecVersionrecord component.- Returns:
- the value of the
specVersionrecord component
-
implVersion
Returns the value of theimplVersionrecord component.- Returns:
- the value of the
implVersionrecord component
-
buildVersion
Returns the value of thebuildVersionrecord component.- Returns:
- the value of the
buildVersionrecord component
-
enabled
-

