Record Class DotNetAttributeLocator.Located
java.lang.Object
java.lang.Record
io.jenkins.plugins.configsplice.engine.xml.DotNetAttributeLocator.Located
- Record Components:
range- the range strictly between the quotesquote- the quote character in use, which determines replacement escapingrawValue- the source text of the value, still escaped; decode before comparing to a literal
- Enclosing class:
DotNetAttributeLocator
public static record DotNetAttributeLocator.Located(SourceRange range, char quote, String rawValue)
extends Record
A located attribute value.
-
Constructor Summary
ConstructorsConstructorDescriptionLocated(SourceRange range, char quote, String rawValue) Creates an instance of aLocatedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionThe current value with entities resolved, for idempotency comparisons.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.charquote()Returns the value of thequoterecord component.range()Returns the value of therangerecord component.rawValue()Returns the value of therawValuerecord component.toString()MasksrawValue: the value currently in the file may itself be a secret.
-
Constructor Details
-
Method Details
-
decodedValue
The current value with entities resolved, for idempotency comparisons. -
toString
MasksrawValue: the value currently in the file may itself be a secret. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 '=='. -
range
Returns the value of therangerecord component.- Returns:
- the value of the
rangerecord component
-
quote
public char quote()Returns the value of thequoterecord component.- Returns:
- the value of the
quoterecord component
-
rawValue
Returns the value of therawValuerecord component.- Returns:
- the value of the
rawValuerecord component
-