public interface AnalyticsEventPropertyResolver
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getProperty(ActivityElement activity,
java.lang.String eventType,
java.lang.String factName,
java.lang.String factDimensionProperty)
Expected to return the value to be used for the specified event parameter /
event dimension property in an event that is to be generated for the
specified activity instance.
|
java.lang.Object getProperty(ActivityElement activity, java.lang.String eventType, java.lang.String factName, java.lang.String factDimensionProperty) throws ActivityException
For instance, for an event of type "WC:DISCUSSION_FORUMCREATE",
parameter "DICUSSION_FORUM", and dimension property
"RESOURCE_ID", this method is expected to look up the first object
argument of the passed activity, and return its object id.
activity - Activity Streaming activity for which to return the
event property valueeventType - Name of the analytics event typefactName - Name of an event parameter or event dimension parameter
for the specified event typefactDimensionProperty - Name of a property of the dimension of the
specified dimension parameter if factName is for a
dimension parameter, or null if factName is not
for a dimension parameter but for a simple parameterActivityException - If an error occurs that prevents the resolver
from being able to successfully resolve the requested property