Class Link


  • public class Link
    extends java.lang.Object
    This class was taken from the Groovy project, so that GroovyDoc links can be added as mojo parameters without a compile dependency on Groovy. Represents a link pair (href, packages). The packages are comma separated.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String href
      Link URL.
      private java.lang.String packages
      Link packages.
    • Constructor Summary

      Constructors 
      Constructor Description
      Link()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getHref()
      Get the href attribute.
      java.lang.String getPackages()
      Get the packages attribute.
      void setHref​(java.lang.String newHref)
      Set the href attribute.
      void setPackages​(java.lang.String newPackages)
      Set the packages attribute.
      • Methods inherited from class java.lang.Object

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

      • href

        private java.lang.String href
        Link URL.
      • packages

        private java.lang.String packages
        Link packages.
    • Constructor Detail

      • Link

        public Link()
    • Method Detail

      • getPackages

        public java.lang.String getPackages()
        Get the packages attribute.
        Returns:
        the packages attribute
      • setPackages

        public void setPackages​(java.lang.String newPackages)
        Set the packages attribute.
        Parameters:
        newPackages - the comma separated package prefixes corresponding to this link
      • getHref

        public java.lang.String getHref()
        Get the href attribute.
        Returns:
        the href attribute
      • setHref

        public void setHref​(java.lang.String newHref)
        Set the href attribute.
        Parameters:
        newHref - a String value representing the URL to use for this link