Class IndicatorManager
java.lang.Object
com.jalios.jcms.uicomponent.indicator.IndicatorManager
-
Method Summary
Modifier and TypeMethodDescriptiongetIndicator(generated.PortletIndicator portletIndicator, IndicatorContext indicatorContext, String userLang) static IndicatorManagergetManualIndicator(generated.PortletIndicator portlet, IndicatorContext indicatorContext) getMetricParametersMap(String metricParameters) Returns the map of key / values from the given metric parametersReturns the matchingIndicatorPolicyfrom given metric name
-
Method Details
-
getInstance
-
getManualIndicator
public Indicator getManualIndicator(generated.PortletIndicator portlet, IndicatorContext indicatorContext) -
getIndicator
public Indicator getIndicator(generated.PortletIndicator portletIndicator, IndicatorContext indicatorContext, String userLang) -
getMetricSet
- Returns:
- a set of metric by looking into jcms properties
-
getPolicy
Returns the matchingIndicatorPolicyfrom given metric name- Parameters:
metric- the metric name- Returns:
- an
IndicatorPolicy
-
getMetricParametersMap
Returns the map of key / values from the given metric parameters- Parameters:
metricParameters- as json- Returns:
- a Map of key/value from given json
-