Record Class NexoriCloseMatchAdmissionRequest
java.lang.Object
java.lang.Record
io.github.hyjn.nexori.plugin.api.minigame.NexoriCloseMatchAdmissionRequest
- Record Components:
matchId- Nexori local match id.reason- public reason for closing admission.message- optional human-readable context for logs and diagnostics.
public record NexoriCloseMatchAdmissionRequest(String matchId, NexoriCloseMatchAdmissionReason reason, @Nullable String message)
extends Record
Request to close match admission/backfill visibility for one active backend-driven match.
Use this when a rules mod reaches a point where additional players should no longer be admitted to the match. The request affects admission reporting; it does not submit the final result or return players to lobby.
-
Constructor Summary
ConstructorsConstructorDescriptionNexoriCloseMatchAdmissionRequest(String matchId, NexoriCloseMatchAdmissionReason reason, String message) Creates an instance of aNexoriCloseMatchAdmissionRequestrecord 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.matchId()Returns the value of thematchIdrecord component.message()Returns the value of themessagerecord component.reason()Returns the value of thereasonrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
NexoriCloseMatchAdmissionRequest
public NexoriCloseMatchAdmissionRequest(String matchId, NexoriCloseMatchAdmissionReason reason, @Nullable String message) Creates an instance of aNexoriCloseMatchAdmissionRequestrecord class.
-
-
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). -
matchId
-
reason
-
message
-