Record Class DefaultBuildContext.RequestChainLink
java.lang.Object
java.lang.Record
org.jdrupes.builder.core.DefaultBuildContext.RequestChainLink
- Record Components:
previous- the previousinvocation- the invocation
- Enclosing class:
DefaultBuildContext
public static record DefaultBuildContext.RequestChainLink(DefaultBuildContext.RequestChainLink previous, ProviderInvocation<?> invocation)
extends Record
A link in the call chain.
-
Constructor Summary
ConstructorsConstructorDescriptionRequestChainLink(DefaultBuildContext.RequestChainLink previous, ProviderInvocation<?> invocation) Creates an instance of aRequestChainLinkrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinvocationrecord component.previous()Returns the value of thepreviousrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RequestChainLink
public RequestChainLink(DefaultBuildContext.RequestChainLink previous, ProviderInvocation<?> invocation) Creates an instance of aRequestChainLinkrecord class.- Parameters:
previous- the value for thepreviousrecord componentinvocation- the value for theinvocationrecord 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). -
previous
-
invocation
Returns the value of theinvocationrecord component.- Returns:
- the value of the
invocationrecord component
-