|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.plumtree.analytics.openusage.ASEventFactory
Factory class for creating different Analytics events.
Constructor Summary | |
ASEventFactory()
|
Method Summary | |
static IDirViewEvent |
createDirViewEvent()
Creates a Directory View Event |
static IDocViewEvent |
createDocViewEvent()
Creates a Document View Event |
static ILoginEvent |
createLoginEvent()
Creates a Login Event |
static ILogoffEvent |
createLogoffEvent()
Creates a Log Off Event |
static IManagedEvent |
createManagedEvent(java.lang.String eventName)
Creates a Managed Event with the registered event name. |
static IManagedEvent |
createManagedEvent(java.lang.String eventName,
java.lang.String namespaceUri)
Creates a Managed Event with the registered event name. |
static IPageViewEvent |
createPageViewEvent()
Creates a Page View Event |
static IPortletUseEvent |
createPortletUseEvent()
Creates a Portlet Use Event |
static IPortletViewEvent |
createPortletViewEvent()
Creates a Portlet View Event |
static ISearchEvent |
createSearchEvent()
Creates a Search Event |
static ISearchResultEvent |
createSearchResultEvent()
Creates a Search Result Event |
static void |
setConfig(java.lang.String destinationHost,
int destinationPort,
boolean isUnicast)
Sets the openusage configuration using the given values. |
static void |
setConfig(java.lang.String destinationHost,
int destinationPort,
int loggingLevel,
boolean enableConsoleLogging,
boolean isUnicast)
Sets the openusage configuration using the given values. |
static void |
setConfig(java.lang.String fileLocation,
java.lang.String fileName)
Sets the openusage configuration using the property file at the given location and name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ASEventFactory()
Method Detail |
public static void setConfig(java.lang.String fileLocation, java.lang.String fileName)
The property file should be in the format:
<properties>
<UT_MODE>(YES/NO)</UT_MODE>
<UNICAST_MODE>(YES/NO)</UNICAST_MODE>
<UNICAST_IP>(DESTINATION IP)</UNICAST_IP>
</properties>
The DESTINATION IP can be in 2 formats:
fileLocation
- the directory where the file is located (NULL is not allowed)fileName
- the name of the file (NULL is not allowed)public static void setConfig(java.lang.String destinationHost, int destinationPort, boolean isUnicast)
destinationHost
- the destination host machine to send events (this value is ignored and can be NULL if isUnicast
parameter is set to false)destinationPort
- the destination host port to send events (this value is ignored if isUnicast
parameter is set to false)isUnicast
- if true use UDP Unicast to send eventspublic static void setConfig(java.lang.String destinationHost, int destinationPort, int loggingLevel, boolean enableConsoleLogging, boolean isUnicast)
destinationHost
- the destination host machine to send events (this value is ignored and can be NULL if isUnicast parameter is set to false)destinationPort
- the destination host port to send events (this value is ignored if isUnicast parameter is set to false)loggingLevel
- the logging levelenableConsoleLogging
- enable console logging of eventsisUnicast
- if true use UDP Unicast to send eventspublic static IManagedEvent createManagedEvent(java.lang.String eventName)
eventName
- the event name registered for this event (NULL is not allowed)
public static IManagedEvent createManagedEvent(java.lang.String eventName, java.lang.String namespaceUri)
eventName
- the event name registered for this event (NULL is not allowed)
public static IDirViewEvent createDirViewEvent()
public static IDocViewEvent createDocViewEvent()
public static ILoginEvent createLoginEvent()
public static ILogoffEvent createLogoffEvent()
public static IPageViewEvent createPageViewEvent()
public static IPortletUseEvent createPortletUseEvent()
public static IPortletViewEvent createPortletViewEvent()
public static ISearchEvent createSearchEvent()
public static ISearchResultEvent createSearchResultEvent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |