Class DefaultPluginPrefixResult
- java.lang.Object
-
- org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResult
-
- All Implemented Interfaces:
PluginPrefixResult
class DefaultPluginPrefixResult extends java.lang.Object implements PluginPrefixResult
Describes the result of a plugin prefix resolution request.- Since:
- 3.0
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringartifactIdprivate java.lang.StringgroupIdprivate org.eclipse.aether.repository.ArtifactRepositoryrepository
-
Constructor Summary
Constructors Constructor Description DefaultPluginPrefixResult()DefaultPluginPrefixResult(java.lang.String groupId, java.lang.String artifactId, org.eclipse.aether.repository.ArtifactRepository repository)DefaultPluginPrefixResult(Plugin plugin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetArtifactId()The resolved artifact id for the plugin.java.lang.StringgetGroupId()The resolved group id for the plugin.org.eclipse.aether.repository.ArtifactRepositorygetRepository()The repository from which the plugin prefix was resolved.voidsetArtifactId(java.lang.String artifactId)voidsetGroupId(java.lang.String groupId)voidsetRepository(org.eclipse.aether.repository.ArtifactRepository repository)
-
-
-
Constructor Detail
-
DefaultPluginPrefixResult
DefaultPluginPrefixResult()
-
DefaultPluginPrefixResult
DefaultPluginPrefixResult(Plugin plugin)
-
DefaultPluginPrefixResult
DefaultPluginPrefixResult(java.lang.String groupId, java.lang.String artifactId, org.eclipse.aether.repository.ArtifactRepository repository)
-
-
Method Detail
-
getGroupId
public java.lang.String getGroupId()
Description copied from interface:PluginPrefixResultThe resolved group id for the plugin.- Specified by:
getGroupIdin interfacePluginPrefixResult- Returns:
- The resolved group id for the plugin, never
null.
-
setGroupId
public void setGroupId(java.lang.String groupId)
-
getArtifactId
public java.lang.String getArtifactId()
Description copied from interface:PluginPrefixResultThe resolved artifact id for the plugin.- Specified by:
getArtifactIdin interfacePluginPrefixResult- Returns:
- The resolved artifact id for the plugin, never
null.
-
setArtifactId
public void setArtifactId(java.lang.String artifactId)
-
getRepository
public org.eclipse.aether.repository.ArtifactRepository getRepository()
Description copied from interface:PluginPrefixResultThe repository from which the plugin prefix was resolved.- Specified by:
getRepositoryin interfacePluginPrefixResult- Returns:
- The repository from which the plugin prefix was resolved or
nullif the prefix was resolved from the supplied POM.
-
setRepository
public void setRepository(org.eclipse.aether.repository.ArtifactRepository repository)
-
-