org.codehaus.enunciate.modules.docs.config
Class DownloadConfig

java.lang.Object
  extended by org.codehaus.enunciate.modules.docs.config.DownloadConfig

public class DownloadConfig
extends Object

Configuration for a download.

Author:
Ryan Heaton

Constructor Summary
DownloadConfig()
           
 
Method Summary
 String getArtifact()
          The artifact to expose as a download.
 String getDescription()
          The description of the download.
 String getFile()
          The file to expose as a download.
 String getName()
          The name of the download.
 String getShowLink()
          Defines if a link to the file should be placed on the downloads.html page.
 void setArtifact(String artifact)
          The artifact to expose as a download.
 void setDescription(String description)
          The description of the download.
 void setFile(String file)
          The file to expose as a download.
 void setName(String name)
          The name of the download.
 void setShowLink(String showLink)
          Defines if a link to the file should be placed on the downloads.html page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DownloadConfig

public DownloadConfig()
Method Detail

getArtifact

public String getArtifact()
The artifact to expose as a download.

Returns:
The artifact to expose as a download.

setArtifact

public void setArtifact(String artifact)
The artifact to expose as a download.

Parameters:
artifact - The artifact to expose as a download.

getName

public String getName()
The name of the download.

Returns:
The name of the download.

setName

public void setName(String name)
The name of the download.

Parameters:
name - The name of the download.

getDescription

public String getDescription()
The description of the download. (Ignored if "artifact" is set.)

Returns:
The description of the download. (Ignored if "artifact" is set.)

setDescription

public void setDescription(String description)
The description of the download. (Ignored if "artifact" is set.)

Parameters:
description - The description of the download. (Ignored if "artifact" is set.)

getFile

public String getFile()
The file to expose as a download. (Ignored if "artifact" is set.)

Returns:
The file to expose as a download. (Ignored if "artifact" is set.)

setFile

public void setFile(String file)
The file to expose as a download. (Ignored if "artifact" is set.)

Parameters:
file - The file to expose as a download. (Ignored if "artifact" is set.)

getShowLink

public String getShowLink()
Defines if a link to the file should be placed on the downloads.html page.

Returns:
whether to show the link on downloads.html

setShowLink

public void setShowLink(String showLink)
Defines if a link to the file should be placed on the downloads.html page.

Parameters:
showLink - whether to show the link on downloads.html


Copyright © 2015. All rights reserved.