Record Class QCommandTreeResolver.QResolutionOKGroup
java.lang.Object
java.lang.Record
com.io7m.quarrel.core.QCommandTreeResolver.QResolutionOKGroup
- Record Components:
target- The grouppath- The path that lead to the command
- All Implemented Interfaces:
QCommandTreeResolver.QResolutionType
- Enclosing class:
QCommandTreeResolver
public static record QCommandTreeResolver.QResolutionOKGroup(QCommandGroupType target, List<String> path)
extends Record
implements QCommandTreeResolver.QResolutionType
The targeted object exists and is a group.
-
Constructor Summary
ConstructorsConstructorDescriptionQResolutionOKGroup(QCommandGroupType target, List<String> path) The targeted object exists and is a group. -
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.path()Returns the value of thepathrecord component.target()Returns the value of thetargetrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
QResolutionOKGroup
The targeted object exists and is a group.- Parameters:
target- The grouppath- The path that lead to the command
-
-
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). -
target
-
path
-