Class 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  
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • groupId

        private java.lang.String groupId
      • artifactId

        private java.lang.String artifactId
      • repository

        private 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 interface PluginPrefixResult
        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 interface PluginPrefixResult
        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 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)