Record Class PropertyLine
java.lang.Object
java.lang.Record
com.atlassian.platform.pomcheck.validation.PropertyLine
- Record Components:
comment- whether this line is a comment rather than a propertyvalue- the comment text, or the property's tag name
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyLine(boolean comment, String value) Creates an instance of aPropertyLinerecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleancomment()Returns the value of thecommentrecord 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.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
PropertyLine
-
-
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. -
comment
-
value
-