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