org.apache.tools.ant.taskdefsClass Javadoc.LinkArgument
- java.lang.Object
- org.apache.tools.ant.taskdefs.Javadoc.LinkArgument
- Enclosing class:
- Javadoc
public class Javadoc.LinkArgument extends java.lang.Object
Represents a link triplet (href, whether link is offline, location of the package list if off line)
Constructor Summary
Constructors Constructor and Description LinkArgument()
Constructor for LinkArgument
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.String
getHref()
Get the href attribute.java.io.File
getPackagelistLoc()
Get the packetList location attribute.java.net.URL
getPackagelistURL()
Get the packetList location attribute.boolean
isLinkOffline()
Get the linkOffline attribute.void
setHref(java.lang.String hr)
Set the href attribute.void
setOffline(boolean offline)
Set the offline attribute.void
setPackagelistLoc(java.io.File src)
Set the packetlist location attribute.void
setPackagelistURL(java.net.URL src)
Set the packetlist location attribute.void
setResolveLink(boolean resolve)
Sets whether Ant should resolve the link attribute relative to the current basedir.boolean
shouldResolveLink()
should Ant resolve the link attribute relative to the current basedir?
Method Detail
setHref
public void setHref(java.lang.String hr)Set the href attribute.
- Parameters:
hr
- aString
value
getHref
public java.lang.String getHref()Get the href attribute.
- Returns:
- the href attribute.
setPackagelistLoc
public void setPackagelistLoc(java.io.File src)Set the packetlist location attribute.
- Parameters:
src
- aFile
value
getPackagelistLoc
public java.io.File getPackagelistLoc()Get the packetList location attribute.
- Returns:
- the packetList location attribute.
setPackagelistURL
public void setPackagelistURL(java.net.URL src)Set the packetlist location attribute.
- Parameters:
src
- anURL
value
getPackagelistURL
public java.net.URL getPackagelistURL()Get the packetList location attribute.
- Returns:
- the packetList location attribute.
setOffline
public void setOffline(boolean offline)Set the offline attribute.
- Parameters:
offline
- aboolean
value
isLinkOffline
public boolean isLinkOffline()Get the linkOffline attribute.
- Returns:
- the linkOffline attribute.
setResolveLink
public void setResolveLink(boolean resolve)Sets whether Ant should resolve the link attribute relative to the current basedir.
- Parameters:
resolve
- aboolean
value
shouldResolveLink
public boolean shouldResolveLink()should Ant resolve the link attribute relative to the current basedir?
- Returns:
- the resolveLink attribute.