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.String
artifactId
private java.lang.String
groupId
private org.eclipse.aether.repository.ArtifactRepository
repository
-
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.String
getArtifactId()
The resolved artifact id for the plugin.java.lang.String
getGroupId()
The resolved group id for the plugin.org.eclipse.aether.repository.ArtifactRepository
getRepository()
The repository from which the plugin prefix was resolved.void
setArtifactId(java.lang.String artifactId)
void
setGroupId(java.lang.String groupId)
void
setRepository(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:PluginPrefixResult
The resolved group id for the plugin.- Specified by:
getGroupId
in 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:PluginPrefixResult
The resolved artifact id for the plugin.- Specified by:
getArtifactId
in 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:PluginPrefixResult
The repository from which the plugin prefix was resolved.- Specified by:
getRepository
in interfacePluginPrefixResult
- Returns:
- The repository from which the plugin prefix was resolved or
null
if the prefix was resolved from the supplied POM.
-
setRepository
public void setRepository(org.eclipse.aether.repository.ArtifactRepository repository)
-
-