|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sonatype.aether.deployment.DeployResult
public class DeployResult
The result of deploying artifacts and their accompanying metadata into the a remote repository.
RepositorySystem.deploy(RepositorySystemSession, DeployRequest)
Constructor Summary | |
---|---|
DeployResult(DeployRequest request)
Creates a new result for the specified request. |
Method Summary | |
---|---|
DeployResult |
addArtifact(Artifact artifact)
Adds the specified artifacts to the result. |
DeployResult |
addMetadata(Metadata metadata)
Adds the specified metadata to this result. |
Collection<Artifact> |
getArtifacts()
Gets the artifact that got deployed. |
Collection<Metadata> |
getMetadata()
Gets the metadata that got deployed. |
DeployRequest |
getRequest()
Gets the deploy request that was made. |
DeployResult |
setArtifacts(Collection<Artifact> artifacts)
Sets the artifacts that got deployed. |
DeployResult |
setMetadata(Collection<Metadata> metadata)
Sets the metadata that got deployed. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeployResult(DeployRequest request)
request
- The deployment request, must not be null
.Method Detail |
---|
public DeployRequest getRequest()
null
.public Collection<Artifact> getArtifacts()
null
.public DeployResult setArtifacts(Collection<Artifact> artifacts)
artifacts
- The deployed artifacts, may be null
.
null
.public DeployResult addArtifact(Artifact artifact)
artifact
- The deployed artifact to add, may be null
.
null
.public Collection<Metadata> getMetadata()
null
.public DeployResult setMetadata(Collection<Metadata> metadata)
metadata
- The deployed metadata, may be null
.
null
.public DeployResult addMetadata(Metadata metadata)
metadata
- The deployed metadata to add, may be null
.
null
.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |