|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.analysis.util.CategoryUrlBuilder
public class CategoryUrlBuilder
Builds a URL for the links in a clickable map. The URL is composed of the build number, a slash, the plug-in name, and an optional detail URL.
| Constructor Summary | |
|---|---|
CategoryUrlBuilder(String rootUrl,
String pluginName)
Creates a new instance of CategoryUrlBuilder. |
|
| Method Summary | |
|---|---|
String |
generateURL(org.jfree.data.category.CategoryDataset dataset,
int row,
int column)
|
protected String |
getDetailUrl(int row)
Returns a relative URL based on the specified row that will be appended to the base URL. |
String |
getPluginName()
Returns the plug-in name. |
String |
getRootUrl()
Returns the root URL. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CategoryUrlBuilder(String rootUrl,
String pluginName)
CategoryUrlBuilder.
rootUrl - root URL that is used as prefixpluginName - the name of the plug-in| Method Detail |
|---|
public String generateURL(org.jfree.data.category.CategoryDataset dataset,
int row,
int column)
generateURL in interface org.jfree.chart.urls.CategoryURLGeneratorpublic String getRootUrl()
public String getPluginName()
protected String getDetailUrl(int row)
row - the selected row
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||