Record Class ModelResolver.ModelResolverResult
java.lang.Object
java.lang.Record
org.apache.maven.api.services.model.ModelResolver.ModelResolverResult
- All Implemented Interfaces:
- Result<ModelResolver.ModelResolverRequest>
- Enclosing interface:
- ModelResolver
public static record ModelResolver.ModelResolverResult(ModelResolver.ModelResolverRequest request, ModelSource source, String version)
extends Record
implements Result<ModelResolver.ModelResolverRequest>
- 
Constructor SummaryConstructorsConstructorDescriptionModelResolverResult(ModelResolver.ModelResolverRequest request, ModelSource source, String version) Creates an instance of aModelResolverResultrecord class.
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.request()Returns the value of therequestrecord component.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
- 
Constructor Details- 
ModelResolverResultpublic ModelResolverResult(ModelResolver.ModelResolverRequest request, ModelSource source, String version) Creates an instance of aModelResolverResultrecord class.- Parameters:
- request- the value for the- requestrecord component
- source- the value for the- sourcerecord component
- version- the value for the- versionrecord component
 
 
- 
- 
Method Details- 
getRequest- Specified by:
- getRequestin interface- Result<ModelResolver.ModelResolverRequest>
 
- 
toString
- 
hashCode
- 
equalsIndicates 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).
- 
requestReturns the value of therequestrecord component.- Returns:
- the value of the requestrecord component
 
- 
sourceReturns the value of thesourcerecord component.- Returns:
- the value of the sourcerecord component
 
- 
versionReturns the value of theversionrecord component.- Returns:
- the value of the versionrecord component
 
 
-