Record Class VersionMeta.Argument
java.lang.Object
java.lang.Record
com.cleanroommc.gradle.api.schema.VersionMeta.Argument
- Enclosing class:
VersionMeta
public static record VersionMeta.Argument(List<VersionMeta.ArgRule> rules, List<String> values)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionArgument(List<VersionMeta.ArgRule> rules, List<String> values) Creates an instance of aArgumentrecord 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.rules()Returns the value of therulesrecord component.final StringtoString()Returns a string representation of this record class.values()Returns the value of thevaluesrecord component.
-
Constructor Details
-
Argument
Creates an instance of aArgumentrecord class.- Parameters:
rules- the value for therulesrecord componentvalues- the value for thevaluesrecord 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). -
rules
Returns the value of therulesrecord component.- Returns:
- the value of the
rulesrecord component
-
values
-