Class DefaultPluginPrefixResult

java.lang.Object
org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResult
All Implemented Interfaces:
PluginPrefixResult

class DefaultPluginPrefixResult extends Object implements PluginPrefixResult
Describes the result of a plugin prefix resolution request.
Since:
3.0
  • Field Details

    • groupId

      private String groupId
    • artifactId

      private String artifactId
    • repository

      private org.eclipse.aether.repository.ArtifactRepository repository
  • Constructor Details

    • DefaultPluginPrefixResult

      DefaultPluginPrefixResult()
    • DefaultPluginPrefixResult

      DefaultPluginPrefixResult(Plugin plugin)
    • DefaultPluginPrefixResult

      DefaultPluginPrefixResult(String groupId, String artifactId, org.eclipse.aether.repository.ArtifactRepository repository)
  • Method Details

    • getGroupId

      public String getGroupId()
      Description copied from interface: PluginPrefixResult
      The resolved group id for the plugin.
      Specified by:
      getGroupId in interface PluginPrefixResult
      Returns:
      The resolved group id for the plugin, never null.
    • setGroupId

      public void setGroupId(String groupId)
    • getArtifactId

      public String getArtifactId()
      Description copied from interface: PluginPrefixResult
      The resolved artifact id for the plugin.
      Specified by:
      getArtifactId in interface PluginPrefixResult
      Returns:
      The resolved artifact id for the plugin, never null.
    • setArtifactId

      public void setArtifactId(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 interface PluginPrefixResult
      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)