Package org.eclipse.aether.deployment
Class DeployRequest
java.lang.Object
org.eclipse.aether.deployment.DeployRequest
A request to deploy artifacts and their accompanying metadata into the a remote repository.
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionaddArtifact(Artifact artifact) Adds the specified artifacts for deployment.addMetadata(Metadata metadata) Adds the specified metadata for deployment.Gets the artifact to deploy.Gets the metadata to deploy.Gets the repository to deploy to.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 deploy.setMetadata(Collection<Metadata> metadata) Sets the metadata to deploy.setRepository(RemoteRepository repository) Sets the repository to deploy to.setTrace(RequestTrace trace) Sets the trace information that describes the higher level request/operation in which this request is issued.toString()
- 
Constructor Details- 
DeployRequestpublic DeployRequest()Creates an uninitialized request.
 
- 
- 
Method Details- 
getArtifactsGets the artifact to deploy.- Returns:
- The artifacts to deploy, never null.
 
- 
setArtifactsSets the artifacts to deploy.- Parameters:
- artifacts- The artifacts to deploy, may be- null.
- Returns:
- This request for chaining, never null.
 
- 
addArtifactAdds the specified artifacts for deployment.- Parameters:
- artifact- The artifact to add, may be- null.
- Returns:
- This request for chaining, never null.
 
- 
getMetadataGets the metadata to deploy.- Returns:
- The metadata to deploy, never null.
 
- 
setMetadataSets the metadata to deploy.- Parameters:
- metadata- The metadata to deploy, may be- null.
- Returns:
- This request for chaining, never null.
 
- 
addMetadataAdds the specified metadata for deployment.- Parameters:
- metadata- The metadata to add, may be- null.
- Returns:
- This request for chaining, never null.
 
- 
getRepositoryGets the repository to deploy to.- Returns:
- The repository to deploy to or nullif not set.
 
- 
setRepositorySets the repository to deploy to.- Parameters:
- repository- The repository to deploy to, 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
 
-