Record Class LoadedPlugin
java.lang.Object
java.lang.Record
me.neurodock.plugin.LoadedPlugin
public record LoadedPlugin(Plugin plugin, ClassLoader loader, PluginMetadata metaData)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionLoadedPlugin(Plugin plugin, ClassLoader loader, PluginMetadata metaData) Creates an instance of aLoadedPluginrecord 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.loader()Returns the value of theloaderrecord component.metaData()Returns the value of themetaDatarecord component.plugin()Returns the value of thepluginrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LoadedPlugin
Creates an instance of aLoadedPluginrecord class.- Parameters:
plugin- the value for thepluginrecord componentloader- the value for theloaderrecord componentmetaData- the value for themetaDatarecord 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). -
plugin
Returns the value of thepluginrecord component.- Returns:
- the value of the
pluginrecord component
-
loader
Returns the value of theloaderrecord component.- Returns:
- the value of the
loaderrecord component
-
metaData
Returns the value of themetaDatarecord component.- Returns:
- the value of the
metaDatarecord component
-