Record Class PluginInstallUtils.PendingReply
java.lang.Object
java.lang.Record
com.ultikits.ultitools.utils.PluginInstallUtils.PendingReply
- Enclosing class:
PluginInstallUtils
@Internal
public static record PluginInstallUtils.PendingReply(MessageKey key, List<Arg> args)
extends Record
A command reply in the framework catalogue, with typed arguments.
- Since:
- 6.0.0
- Author:
- wisdomme
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for theargsrecord component.private final MessageKeyThe field for thekeyrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionPendingReply(MessageKey key, List<Arg> args) Creates an instance of aPendingReplyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionargs()Returns the value of theargsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.key()Returns the value of thekeyrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
key
The field for thekeyrecord component. -
args
-
-
Constructor Details
-
PendingReply
Creates an instance of aPendingReplyrecord class.- Parameters:
key- the value for thekeyrecord componentargs- the value for theargsrecord 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). -
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-
args
-