Record Class RequestTraceHelper.ResolverTrace
java.lang.Object
java.lang.Record
org.apache.maven.impl.RequestTraceHelper.ResolverTrace
- Record Components:
session- The current Maven sessioncontext- The trace contexttrace- The Resolver-specific tracemvnTrace- The Maven-specific trace
- Enclosing class:
RequestTraceHelper
public static record RequestTraceHelper.ResolverTrace(Session session, String context, org.eclipse.aether.RequestTrace trace, RequestTrace mvnTrace)
extends Record
Represents a resolver trace containing both Maven and Resolver-specific trace information
-
Constructor Summary
ConstructorsConstructorDescriptionResolverTrace(Session session, String context, org.eclipse.aether.RequestTrace trace, RequestTrace mvnTrace) Creates an instance of aResolverTracerecord class. -
Method Summary
Modifier and TypeMethodDescriptioncontext()Returns the value of thecontextrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.mvnTrace()Returns the value of themvnTracerecord component.session()Returns the value of thesessionrecord component.final StringtoString()Returns a string representation of this record class.org.eclipse.aether.RequestTracetrace()Returns the value of thetracerecord component.
-
Constructor Details
-
ResolverTrace
public ResolverTrace(Session session, String context, org.eclipse.aether.RequestTrace trace, RequestTrace mvnTrace) Creates an instance of aResolverTracerecord class.
-
-
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). -
session
-
context
-
trace
-
mvnTrace
-