Class Link


  • public class Link
    extends 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.
    • Constructor Detail

      • Link

        public Link()
    • Method Detail

      • getPackages

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

        public Link setPackages​(String newPackages)
        Set the packages attribute.
        Parameters:
        newPackages - the comma separated package prefixs corresponding to this link
        Returns:
        this object (for fluent invocation)
      • getHref

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

        public Link setHref​(String newHref)
        Set the href attribute.
        Parameters:
        newHref - a String value representing the URL to use for this link
        Returns:
        this object (for fluent invocation)