Package net.i2p.router.web.helpers
Class ConfigStatsHelper
java.lang.Object
net.i2p.router.web.HelperBase
net.i2p.router.web.helpers.ConfigStatsHelper
-
Field Summary
Fields inherited from class net.i2p.router.web.HelperBase
_context, _out, CHECKED, PROP_ADVANCED, SELECTED
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
What group is the current stat in, untranslated, not for displayboolean
boolean
What group is the current stat in, display name, translatedboolean
Is the current stat the first in the group?boolean
move the cursor to the next known stat, returning true if a valid stat is available.void
setContextId
(String contextId) Configure this bean to query a particular router contextMethods inherited from class net.i2p.router.web.HelperBase
_t, _t, _t, _x, getChecked, isAdvanced, ngettext, storeWriter
-
Constructor Details
-
ConfigStatsHelper
public ConfigStatsHelper()
-
-
Method Details
-
setContextId
Configure this bean to query a particular router context- Overrides:
setContextId
in classHelperBase
- Parameters:
contextId
- beginning few characters of the routerHash, or null to pick the first one we come across.
-
hasMoreStats
public boolean hasMoreStats()move the cursor to the next known stat, returning true if a valid stat is available.- Returns:
- true if a valid stat is available, otherwise false
-
groupRequired
public boolean groupRequired()Is the current stat the first in the group? -
getCurrentGroupName
What group is the current stat in, untranslated, not for display- Returns:
- single word, no spaces
-
getTranslatedGroupName
What group is the current stat in, display name, translated- Since:
- 0.9.45
-
getCurrentStatName
-
getCurrentGraphName
-
getCurrentStatDescription
-
getCurrentIsGraphed
public boolean getCurrentIsGraphed() -
getCurrentCanBeGraphed
public boolean getCurrentCanBeGraphed() -
getIsFull
public boolean getIsFull()
-