Record Class QCommandParserConfiguration
java.lang.Object
java.lang.Record
com.io7m.quarrel.core.QCommandParserConfiguration
- Record Components:
converters- The value converters that will be used to parse commandsapplicationResources- The application resources
public record QCommandParserConfiguration(QValueConverterDirectoryType converters, ResourceBundle applicationResources)
extends Record
The command parser configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionQCommandParserConfiguration(QValueConverterDirectoryType converters, ResourceBundle applicationResources) The command parser configuration. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapplicationResourcesrecord component.Returns the value of theconvertersrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
QCommandParserConfiguration
public QCommandParserConfiguration(QValueConverterDirectoryType converters, ResourceBundle applicationResources) The command parser configuration.- Parameters:
converters- The value converters that will be used to parse commandsapplicationResources- The application resources
-
-
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). -
converters
Returns the value of theconvertersrecord component.- Returns:
- the value of the
convertersrecord component
-
applicationResources
Returns the value of theapplicationResourcesrecord component.- Returns:
- the value of the
applicationResourcesrecord component
-