Record Class PluginLoadedEvent
java.lang.Object
java.lang.Record
com.zenith.event.plugin.PluginLoadedEvent
-
Constructor Summary
ConstructorsConstructorDescriptionPluginLoadedEvent(PluginInfo pluginInfo) Creates an instance of aPluginLoadedEventrecord 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.Returns the value of thepluginInforecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PluginLoadedEvent
Creates an instance of aPluginLoadedEventrecord class.- Parameters:
pluginInfo- the value for thepluginInforecord 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). -
pluginInfo
Returns the value of thepluginInforecord component.- Returns:
- the value of the
pluginInforecord component
-