public interface PluginVersionRequest
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getArtifactId()
Gets the artifact id of the plugin.
|
java.lang.String |
getGroupId()
Gets the group id of the plugin.
|
Model |
getPom()
Gets the POM whose build plugins are to be scanned for the version.
|
java.util.List<org.eclipse.aether.repository.RemoteRepository> |
getRepositories()
Gets the remote repositories to use.
|
org.eclipse.aether.RepositorySystemSession |
getRepositorySession()
Gets the session to use for repository access.
|
PluginVersionRequest |
setArtifactId(java.lang.String artifactId)
Sets the artifact id of the plugin.
|
PluginVersionRequest |
setGroupId(java.lang.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(java.util.List<org.eclipse.aether.repository.RemoteRepository> repositories)
Sets the remote repositories to use.
|
PluginVersionRequest |
setRepositorySession(org.eclipse.aether.RepositorySystemSession repositorySession)
Sets the session to use for repository access.
|
java.lang.String getGroupId()
PluginVersionRequest setGroupId(java.lang.String groupId)
groupId
- The group id of the plugin.null
.java.lang.String getArtifactId()
PluginVersionRequest setArtifactId(java.lang.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
.java.util.List<org.eclipse.aether.repository.RemoteRepository> getRepositories()
null
.PluginVersionRequest setRepositories(java.util.List<org.eclipse.aether.repository.RemoteRepository> repositories)
repositories
- The remote repositories to use.null
.org.eclipse.aether.RepositorySystemSession getRepositorySession()
null
if not set.PluginVersionRequest setRepositorySession(org.eclipse.aether.RepositorySystemSession repositorySession)
repositorySession
- The repository session to use.null
.