Record Class VersionMeta.ArgRule
java.lang.Object
java.lang.Record
com.cleanroommc.gradle.api.schema.VersionMeta.ArgRule
- Enclosing class:
VersionMeta
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaction()Returns the value of theactionrecord component.final booleanIndicates whether some other object is "equal to" this one.features()Returns the value of thefeaturesrecord component.final inthashCode()Returns a hash code value for this object.booleanbooleanos()Returns the value of theosrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ArgRule
Creates an instance of aArgRulerecord class.- Parameters:
action- the value for theactionrecord componentos- the value for theosrecord componentfeatures- the value for thefeaturesrecord component
-
-
Method Details
-
isAllowed
public boolean isAllowed() -
matches
-
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). -
action
Returns the value of theactionrecord component.- Returns:
- the value of the
actionrecord component
-
os
Returns the value of theosrecord component.- Returns:
- the value of the
osrecord component
-
features
-