|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PluginVersionRequest
Collects settings required to resolve the version for a plugin.
| Method Summary | |
|---|---|
String |
getArtifactId()
Gets the artifact id of the plugin. |
String |
getGroupId()
Gets the group id of the plugin. |
Model |
getPom()
Gets the POM whose build plugins are to be scanned for the version. |
List<org.sonatype.aether.repository.RemoteRepository> |
getRepositories()
Gets the remote repositories to use. |
org.sonatype.aether.RepositorySystemSession |
getRepositorySession()
Gets the session to use for repository access. |
PluginVersionRequest |
setArtifactId(String artifactId)
Sets the artifact id of the plugin. |
PluginVersionRequest |
setGroupId(String groupId)
Sets the group id of the plugin. |
PluginVersionRequest |
setPom(Model pom)
Sets the POM whose build plugins are to be scanned for the version. |
PluginVersionRequest |
setRepositories(List<org.sonatype.aether.repository.RemoteRepository> repositories)
Sets the remote repositories to use. |
PluginVersionRequest |
setRepositorySession(org.sonatype.aether.RepositorySystemSession repositorySession)
Sets the session to use for repository access. |
| Method Detail |
|---|
String getGroupId()
PluginVersionRequest setGroupId(String groupId)
groupId - The group id of the plugin.
null.String getArtifactId()
PluginVersionRequest setArtifactId(String artifactId)
artifactId - The artifact id of the plugin.
null.Model getPom()
null to only search the plugin
repositories.PluginVersionRequest setPom(Model pom)
pom - The POM whose build plugins are to be scanned for the version, may be null to only search the
plugin repositories.
null.List<org.sonatype.aether.repository.RemoteRepository> getRepositories()
null.PluginVersionRequest setRepositories(List<org.sonatype.aether.repository.RemoteRepository> repositories)
repositories - The remote repositories to use.
null.org.sonatype.aether.RepositorySystemSession getRepositorySession()
null if not set.PluginVersionRequest setRepositorySession(org.sonatype.aether.RepositorySystemSession repositorySession)
repositorySession - The repository session to use.
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||