Package org.codehaus.gmavenplus.model
Class Link
- java.lang.Object
-
- org.codehaus.gmavenplus.model.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 Summary
Constructors Constructor Description Link()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHref()
Get the href attribute.String
getPackages()
Get the packages attribute.void
setHref(String newHref)
Set the href attribute.void
setPackages(String newPackages)
Set the packages attribute.
-
-
-
Method Detail
-
getPackages
public String getPackages()
Get the packages attribute.- Returns:
- the packages attribute
-
setPackages
public void setPackages(String newPackages)
Set the packages attribute.- Parameters:
newPackages
- the comma separated package prefixes corresponding to this link
-
getHref
public String getHref()
Get the href attribute.- Returns:
- the href attribute
-
setHref
public void setHref(String newHref)
Set the href attribute.- Parameters:
newHref
- aString
value representing the URL to use for this link
-
-