Record Class RuntimeCloseEvent
java.lang.Object
java.lang.Record
io.github.kaktushose.jdac.introspection.lifecycle.events.RuntimeCloseEvent
- Record Components:
runtimeId- the runtimes id
- All Implemented Interfaces:
FrameworkEvent
@IntrospectionAccess(RUNTIME)
public record RuntimeCloseEvent(String runtimeId)
extends Record
implements FrameworkEvent
Published when a
Runtime is started, e.g. when the user executed a slash command.-
Constructor Summary
ConstructorsConstructorDescriptionRuntimeCloseEvent(String runtimeId) Creates an instance of aRuntimeCloseEventrecord 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 theruntimeIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RuntimeCloseEvent
-
-
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). -
runtimeId
-