Record Class AbstractDefinitionResolver.ValidationResult<N>
java.lang.Object
java.lang.Record
com.inductiveautomation.historian.gateway.api.storage.AbstractDefinitionResolver.ValidationResult<N>
- Type Parameters:
N- the node type.- Record Components:
node- the node version for the validated point.commitAction- the cache update to run once writers are flushed, if any.
- Enclosing class:
AbstractDefinitionResolver<N extends HistoricalNode & Comparable<? super N>>
-
Constructor Summary
ConstructorsConstructorDescriptionValidationResult(N node, Optional<Consumer<N>> commitAction) Creates an instance of aValidationResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic <N> AbstractDefinitionResolver.ValidationResult<N> Returns the value of thecommitActionrecord component.static <N> AbstractDefinitionResolver.ValidationResult<N> complete(N node) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.node()Returns the value of thenoderecord component.voidfinal StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ValidationResult
-
-
Method Details
-
complete
-
commit
public static <N> AbstractDefinitionResolver.ValidationResult<N> commit(N node, Consumer<N> commitAction) -
performCommit
public void performCommit() -
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). -
node
-
commitAction
Returns the value of thecommitActionrecord component.- Returns:
- the value of the
commitActionrecord component
-