Record Class VariableStateEvaluationContextLookup
java.lang.Object
java.lang.Record
io.camunda.zeebe.engine.processing.variable.VariableStateEvaluationContextLookup
- All Implemented Interfaces:
ExpressionProcessor.EvaluationContextLookup
public record VariableStateEvaluationContextLookup(VariableState variableState)
extends Record
implements ExpressionProcessor.EvaluationContextLookup
-
Constructor Summary
ConstructorsConstructorDescriptionVariableStateEvaluationContextLookup
(VariableState variableState) Creates an instance of aVariableStateEvaluationContextLookup
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.getContext
(long scopeKey) final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.Returns the value of thevariableState
record component.
-
Constructor Details
-
VariableStateEvaluationContextLookup
Creates an instance of aVariableStateEvaluationContextLookup
record class.- Parameters:
variableState
- the value for thevariableState
record component
-
-
Method Details
-
getContext
- Specified by:
getContext
in interfaceExpressionProcessor.EvaluationContextLookup
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
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. All components in this record class are compared withObjects::equals(Object,Object)
. -
variableState
Returns the value of thevariableState
record component.- Returns:
- the value of the
variableState
record component
-