Package org.eclipse.aether.installation
Class InstallRequest
java.lang.Object
org.eclipse.aether.installation.InstallRequest
A request to install artifacts and their accompanying metadata into the local repository.
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionaddArtifact(Artifact artifact) Adds the specified artifacts for installation.addMetadata(Metadata metadata) Adds the specified metadata for installation.Gets the artifact to install.Gets the metadata to install.getTrace()Gets the trace information that describes the higher level request/operation in which this request is issued.setArtifacts(Collection<Artifact> artifacts) Sets the artifacts to install.setMetadata(Collection<Metadata> metadata) Sets the metadata to install.setTrace(RequestTrace trace) Sets the trace information that describes the higher level request/operation in which this request is issued.toString()
- 
Constructor Details- 
InstallRequestpublic InstallRequest()Creates an uninitialized request.
 
- 
- 
Method Details- 
getArtifactsGets the artifact to install.- Returns:
- The artifacts to install, never null.
 
- 
setArtifactsSets the artifacts to install.- Parameters:
- artifacts- The artifacts to install, may be- null.
- Returns:
- This request for chaining, never null.
 
- 
addArtifactAdds the specified artifacts for installation.- Parameters:
- artifact- The artifact to add, may be- null.
- Returns:
- This request for chaining, never null.
 
- 
getMetadataGets the metadata to install.- Returns:
- The metadata to install, never null.
 
- 
setMetadataSets the metadata to install.- Parameters:
- metadata- The metadata to install.
- Returns:
- This request for chaining, never null.
 
- 
addMetadataAdds the specified metadata for installation.- Parameters:
- metadata- The metadata to add, may be- null.
- Returns:
- This request for chaining, never null.
 
- 
getTraceGets the trace information that describes the higher level request/operation in which this request is issued.- Returns:
- The trace information about the higher level operation or nullif none.
 
- 
setTraceSets the trace information that describes the higher level request/operation in which this request is issued.- Parameters:
- trace- The trace information about the higher level operation, may be- null.
- Returns:
- This request for chaining, never null.
 
- 
toString
 
-