Record Class DefaultModelBuilder.RgavCacheKey
java.lang.Object
java.lang.Record
org.apache.maven.impl.model.DefaultModelBuilder.RgavCacheKey
- Enclosing class:
DefaultModelBuilder
-
Constructor Summary
ConstructorsConstructorDescriptionRgavCacheKey(Session session, RequestTrace trace, List<RemoteRepository> repositories, String groupId, String artifactId, String version, String classifier, String tag) Creates an instance of aRgavCacheKeyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theartifactIdrecord component.Returns the value of theclassifierrecord component.booleanIndicates whether some other object is "equal to" this one.getTrace()groupId()Returns the value of thegroupIdrecord component.inthashCode()Returns a hash code value for this object.Returns the value of therepositoriesrecord component.session()Returns the value of thesessionrecord component.tag()Returns the value of thetagrecord component.toString()Returns a string representation of this record class.trace()Returns the value of thetracerecord component.version()Returns the value of theversionrecord component.
-
Constructor Details
-
RgavCacheKey
public RgavCacheKey(Session session, RequestTrace trace, List<RemoteRepository> repositories, String groupId, String artifactId, String version, String classifier, String tag) Creates an instance of aRgavCacheKeyrecord class.- Parameters:
session- the value for thesessionrecord componenttrace- the value for thetracerecord componentrepositories- the value for therepositoriesrecord componentgroupId- the value for thegroupIdrecord componentartifactId- the value for theartifactIdrecord componentversion- the value for theversionrecord componentclassifier- the value for theclassifierrecord componenttag- the value for thetagrecord component
-
-
Method Details
-
getSession
- Specified by:
getSessionin interfaceRequest<Session>
-
getTrace
-
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). -
hashCode
-
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. -
session
Returns the value of thesessionrecord component.- Returns:
- the value of the
sessionrecord component
-
trace
Returns the value of thetracerecord component.- Returns:
- the value of the
tracerecord component
-
repositories
Returns the value of therepositoriesrecord component.- Returns:
- the value of the
repositoriesrecord component
-
groupId
Returns the value of thegroupIdrecord component.- Returns:
- the value of the
groupIdrecord component
-
artifactId
Returns the value of theartifactIdrecord component.- Returns:
- the value of the
artifactIdrecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
classifier
Returns the value of theclassifierrecord component.- Returns:
- the value of the
classifierrecord component
-
tag
Returns the value of thetagrecord component.- Returns:
- the value of the
tagrecord component
-