Record Class QCommandTreeResolver.QResolutionOKCommand
java.lang.Object
java.lang.Record
com.io7m.quarrel.core.QCommandTreeResolver.QResolutionOKCommand
- Record Components:
command- The commandpath- The path that lead to the commandremaining- The remaining arguments
- All Implemented Interfaces:
QCommandTreeResolver.QResolutionType
- Enclosing class:
QCommandTreeResolver
public static record QCommandTreeResolver.QResolutionOKCommand(QCommandType command, List<String> path, List<String> remaining)
extends Record
implements QCommandTreeResolver.QResolutionType
The targeted object exists and is a command.
-
Constructor Summary
ConstructorsConstructorDescriptionQResolutionOKCommand(QCommandType command, List<String> path, List<String> remaining) The targeted object exists and is a command. -
Method Summary
Modifier and TypeMethodDescriptioncommand()Returns the value of thecommandrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.path()Returns the value of thepathrecord component.Returns the value of theremainingrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
QResolutionOKCommand
The targeted object exists and is a command.- Parameters:
command- The commandpath- The path that lead to the commandremaining- The remaining arguments
-
-
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). -
command
-
path
-
remaining
-