Class TrafficVarFilter
java.lang.Object
com.day.cq.analytics.sitecatalyst.TrafficVarFilter
- All Implemented Interfaces:
Filter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfilter(JSONObject obj) Returns true if variable is of the correct type, false otherwise.getJSArray(JSONObject obj) Returns a String representation of a JS array for this JSONObject.indexOf(JSONObject obj, String query) Returnstrueif one of its properties does contain the query string,falseotherwise.
-
Constructor Details
-
TrafficVarFilter
public TrafficVarFilter()
-
-
Method Details
-
filter
Description copied from interface:FilterReturns true if variable is of the correct type, false otherwise. -
indexOf
Description copied from interface:FilterReturnstrueif one of its properties does contain the query string,falseotherwise. -
getJSArray
Description copied from interface:FilterReturns a String representation of a JS array for this JSONObject.- Specified by:
getJSArrayin interfaceFilter- Parameters:
obj- Variable object- Returns:
- String representaiton of a JS array (i.e ['evar1','My evar (eVar)'])
-