Record Class SideOnlyHandler.SasLine
java.lang.Object
java.lang.Record
com.cleanroommc.gradle.api.util.sas.SideOnlyHandler.SasLine
- Enclosing class:
SideOnlyHandler
public static record SideOnlyHandler.SasLine(SideOnlyHandler.Target target, String comment, boolean generated)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionSasLine(SideOnlyHandler.Target target, String comment, boolean generated) Creates an instance of aSasLinerecord class. -
Method Summary
Modifier and TypeMethodDescriptioncomment()Returns the value of thecommentrecord component.final booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of thegeneratedrecord component.final inthashCode()Returns a hash code value for this object.target()Returns the value of thetargetrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SasLine
Creates an instance of aSasLinerecord class.- Parameters:
target- the value for thetargetrecord componentcomment- the value for thecommentrecord componentgenerated- the value for thegeneratedrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
target
Returns the value of thetargetrecord component.- Returns:
- the value of the
targetrecord component
-
comment
Returns the value of thecommentrecord component.- Returns:
- the value of the
commentrecord component
-
generated
public boolean generated()Returns the value of thegeneratedrecord component.- Returns:
- the value of the
generatedrecord component
-