Record Class PluginEndReloadEvent
java.lang.Object
java.lang.Record
kr.toxicity.model.api.event.PluginEndReloadEvent
- Record Components:
result- the result of the reload
- All Implemented Interfaces:
ModelEvent
public record PluginEndReloadEvent(BetterModelPlatform.ReloadResult result)
extends Record
implements ModelEvent
Triggered when the BetterModel platform finishes reloading.
This event provides the result of the reload operation.
- Since:
- 2.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aPluginEndReloadEventrecord 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.result()Returns the value of theresultrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from interface ModelEvent
call
-
Constructor Details
-
PluginEndReloadEvent
Creates an instance of aPluginEndReloadEventrecord class.- Parameters:
result- the value for theresultrecord 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). -
result
-