Record Class VersionMeta.Arguments
java.lang.Object
java.lang.Record
com.cleanroommc.gradle.api.schema.VersionMeta.Arguments
- Enclosing class:
VersionMeta
public static record VersionMeta.Arguments(List<VersionMeta.Argument> game, List<VersionMeta.Argument> jvm)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionArguments(List<VersionMeta.Argument> game, List<VersionMeta.Argument> jvm) Creates an instance of aArgumentsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.game()Returns the value of thegamerecord component.final inthashCode()Returns a hash code value for this object.jvm()Returns the value of thejvmrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Arguments
Creates an instance of aArgumentsrecord class.- Parameters:
game- the value for thegamerecord componentjvm- the value for thejvmrecord 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). -
game
Returns the value of thegamerecord component.- Returns:
- the value of the
gamerecord component
-
jvm
Returns the value of thejvmrecord component.- Returns:
- the value of the
jvmrecord component
-