Record Class LauncherEvent.DataUpdateApplied
java.lang.Object
java.lang.Record
com.botwithus.bot.api.script.LauncherEvent.DataUpdateApplied
- Record Components:
sha- the data now installed
- All Implemented Interfaces:
LauncherEvent
- Enclosing interface:
LauncherEvent
public static record LauncherEvent.DataUpdateApplied(String sha)
extends Record
implements LauncherEvent
A data update was applied.
-
Nested Class Summary
Nested classes/interfaces inherited from interface LauncherEvent
LauncherEvent.AgentUpdated, LauncherEvent.ClientExited, LauncherEvent.ClientStarted, LauncherEvent.ClientStateChanged, LauncherEvent.DataPhase, LauncherEvent.DataUpdateApplied, LauncherEvent.DataUpdateAvailable, LauncherEvent.EventsDropped, LauncherEvent.ExitReason, LauncherEvent.LicenceChanged, LauncherEvent.ServiceLost, LauncherEvent.ServiceRestored, LauncherEvent.ServiceShuttingDown -
Constructor Summary
ConstructorsConstructorDescriptionDataUpdateApplied(String sha) Creates an instance of aDataUpdateAppliedrecord 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.sha()Returns the value of thesharecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DataUpdateApplied
-
-
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). -
sha
-