Record Class DefaultBuildContext.CallChainLink
java.lang.Object
java.lang.Record
org.jdrupes.builder.core.DefaultBuildContext.CallChainLink
- Record Components:
previous- the previousinvocation- the invocation
- Enclosing class:
DefaultBuildContext
public static record DefaultBuildContext.CallChainLink(DefaultBuildContext.CallChainLink previous, ProviderInvocation<?> invocation)
extends Record
A link in the call chain.
-
Constructor Summary
ConstructorsConstructorDescriptionCallChainLink(DefaultBuildContext.CallChainLink previous, ProviderInvocation<?> invocation) Creates an instance of aCallChainLinkrecord 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
-
CallChainLink
Creates an instance of aCallChainLinkrecord 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
-