Record Class TraceabilityReport.Resolution
java.lang.Object
java.lang.Record
pro.verron.officestamper.TraceabilityReport.Resolution
- Record Components:
expression- the placeholder expression that was resolvedvalue- the resolved value of the expressioncontextStack- the nesting context stack at the time of resolution
- Enclosing class:
TraceabilityReport
-
Constructor Summary
ConstructorsConstructorDescriptionResolution(String expression, @Nullable Object value, List<Object> contextStack) Creates an instance of aResolutionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecontextStackrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpressionrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.@Nullable Objectvalue()Returns the value of thevaluerecord component.
-
Constructor Details
-
Resolution
Creates an instance of aResolutionrecord class.- Parameters:
expression- the value for theexpressionrecord componentvalue- the value for thevaluerecord componentcontextStack- the value for thecontextStackrecord 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). -
expression
Returns the value of theexpressionrecord component.- Returns:
- the value of the
expressionrecord component
-
value
-
contextStack
Returns the value of thecontextStackrecord component.- Returns:
- the value of the
contextStackrecord component
-