Package org.eclipse.aether.installation
Class InstallResult
java.lang.Object
org.eclipse.aether.installation.InstallResult
The result of installing artifacts and their accompanying metadata into the a remote repository.
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionInstallResult(InstallRequest request) Creates a new result for the specified request.
- 
Method SummaryModifier and TypeMethodDescriptionaddArtifact(Artifact artifact) Adds the specified artifacts to the result.addMetadata(Metadata metadata) Adds the specified metadata to this result.Gets the artifacts that got installed.Gets the metadata that got installed.Gets the install request that was made.setArtifacts(Collection<Artifact> artifacts) Sets the artifacts that got installed.setMetadata(Collection<Metadata> metadata) Sets the metadata that got installed.toString()
- 
Constructor Details- 
InstallResultCreates a new result for the specified request.- Parameters:
- request- The installation request, must not be- null.
 
 
- 
- 
Method Details- 
getRequestGets the install request that was made.- Returns:
- The install request, never null.
 
- 
getArtifactsGets the artifacts that got installed.- Returns:
- The installed artifacts, never null.
 
- 
setArtifactsSets the artifacts that got installed.- Parameters:
- artifacts- The installed artifacts, may be- null.
- Returns:
- This result for chaining, never null.
 
- 
addArtifactAdds the specified artifacts to the result.- Parameters:
- artifact- The installed artifact to add, may be- null.
- Returns:
- This result for chaining, never null.
 
- 
getMetadataGets the metadata that got installed. Note that due to automatically generated metadata, there might have been more metadata installed than originally specified in the install request.- Returns:
- The installed metadata, never null.
 
- 
setMetadataSets the metadata that got installed.- Parameters:
- metadata- The installed metadata, may be- null.
- Returns:
- This result for chaining, never null.
 
- 
addMetadataAdds the specified metadata to this result.- Parameters:
- metadata- The installed metadata to add, may be- null.
- Returns:
- This result for chaining, never null.
 
- 
toString
 
-