public interface PluginVersionRequest
Modifier and Type | Method and Description |
---|---|
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<RemoteRepository> |
getRepositories()
Gets the remote repositories to use.
|
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<RemoteRepository> repositories)
Sets the remote repositories to use.
|
PluginVersionRequest |
setRepositorySession(RepositorySystemSession repositorySession)
Sets the session to use for repository access.
|
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<RemoteRepository> getRepositories()
null
.PluginVersionRequest setRepositories(List<RemoteRepository> repositories)
repositories
- The remote repositories to use.null
.RepositorySystemSession getRepositorySession()
null
if not set.PluginVersionRequest setRepositorySession(RepositorySystemSession repositorySession)
repositorySession
- The repository session to use.null
.Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.