public class CommonTaskLink
extends java.lang.Object
Constructor and Description |
---|
CommonTaskLink(ConfigOverviewCategory category,
java.lang.String text,
org.apache.commons.lang3.tuple.Pair<java.lang.String,java.lang.String> menuLocation)
Useful when dealing with MENU_ENTRY pairs
|
CommonTaskLink(ConfigOverviewCategory category,
java.lang.String text,
java.lang.String url) |
Modifier and Type | Method and Description |
---|---|
ConfigOverviewCategory |
getCategory() |
java.lang.String |
getText() |
java.lang.String |
getUrl() |
public CommonTaskLink(ConfigOverviewCategory category, java.lang.String text, org.apache.commons.lang3.tuple.Pair<java.lang.String,java.lang.String> menuLocation)
category
- the category presented on the body of the overview pagetext
- the link textmenuLocation
- the pair of representing (config menu category, config page)public CommonTaskLink(ConfigOverviewCategory category, java.lang.String text, java.lang.String url)
category
- the category presented on the body of the overview pagetext
- the link texturl
- can be relative to the configure section (such as using 'system.overview'),
or a full path ('/main/.../system.overview').public ConfigOverviewCategory getCategory()
public java.lang.String getText()
public java.lang.String getUrl()