public class StatFieldListener extends AbstractStatMultiListener
Modifier and Type | Field and Description |
---|---|
protected java.lang.Object |
defaultValue |
protected java.lang.String |
field |
protected java.lang.String |
mapKey |
static java.lang.String |
REVISION |
protected java.util.SortedSet |
tmpObjs |
protected boolean |
validate |
protected boolean |
vObj |
dayListener, dayWeekListener, hourListener, listeners, monthListener, weekListener
beautifier, handleCount, handleTime, t0
ADMIN_AREA, ALL_AREA, channel, display, displayAverage, displayTimeChart, displayWeekChart, FEED_AREA, filteredZone, name, portlet, PUBLIC_AREA, regexpFilter, report, WORK_AREA
ALL_WORKSPACE, TRUNCATE
Constructor and Description |
---|
StatFieldListener(java.lang.String field,
java.lang.String mapKey,
boolean validate) |
StatFieldListener(java.lang.String field,
java.lang.String mapKey,
boolean validate,
java.lang.Object defaultValue) |
StatFieldListener(java.lang.String zone,
java.lang.String field,
java.lang.String mapKey,
boolean validate) |
StatFieldListener(java.lang.String zone,
java.lang.String field,
java.lang.String mapKey,
boolean validate,
boolean vObj,
java.lang.Object defaultValue) |
StatFieldListener(java.lang.String zone,
java.lang.String field,
java.lang.String mapKey,
boolean validate,
java.lang.Object defaultValue) |
Modifier and Type | Method and Description |
---|---|
java.util.SortedSet |
getCurrentObjSet()
Return the current processing objects
|
java.util.SortedSet |
getCurrentObjSet(java.lang.String mapKey)
Return the current processing objects
|
void |
handleEndOfStatEntries(java.util.Map workspaceMap)
Call EndOfStatEntries with given WorkspaceMap
|
void |
processEntry(StatEntry entry,
java.lang.Object workspace,
java.util.Map workspaceMap)
Process an object and store it to the workspace map
|
java.lang.String |
toString() |
boolean |
validateEntry(StatEntry entry)
Validate the Stat Entry and get the correct parameter to process later.
|
protected boolean |
validateEntryField(StatEntry entry) |
protected boolean |
validateEntryObject(StatEntry entry) |
addListener, init, processEntry, processWorkspace, removeListener
getBeautifier, getNanoDuration, getWorkspaceFieldMap, getWorkspaceFieldMap, getWorkspaceMap, handleEndOfStatEntries, handleStatEntry, timeStart, timeStop, updateWorkspaceMap, updateWorkspaceMap, updateWorkspaceMap
getDisplay, getName, getPortlet, getZone, handleStartDocument, isFiltered, setDisplay, setPortlet, setZone
public static final java.lang.String REVISION
protected java.lang.String field
protected java.lang.String mapKey
protected java.util.SortedSet tmpObjs
protected boolean validate
protected boolean vObj
protected java.lang.Object defaultValue
public StatFieldListener(java.lang.String field, java.lang.String mapKey, boolean validate)
public StatFieldListener(java.lang.String field, java.lang.String mapKey, boolean validate, java.lang.Object defaultValue)
public StatFieldListener(java.lang.String zone, java.lang.String field, java.lang.String mapKey, boolean validate)
public StatFieldListener(java.lang.String zone, java.lang.String field, java.lang.String mapKey, boolean validate, java.lang.Object defaultValue)
public StatFieldListener(java.lang.String zone, java.lang.String field, java.lang.String mapKey, boolean validate, boolean vObj, java.lang.Object defaultValue)
public boolean validateEntry(StatEntry entry)
AbstractStatFieldListener
validateEntry
in class AbstractStatMultiListener
AbstractStatFieldListener.validateEntry(StatEntry)
protected boolean validateEntryObject(StatEntry entry)
protected boolean validateEntryField(StatEntry entry)
public void handleEndOfStatEntries(java.util.Map workspaceMap)
AbstractStatFieldListener
handleEndOfStatEntries
in class AbstractStatMultiListener
AbstractStatFieldListener.handleEndOfStatEntries(Map)
public void processEntry(StatEntry entry, java.lang.Object workspace, java.util.Map workspaceMap)
AbstractStatFieldListener
processEntry
in class AbstractStatMultiListener
AbstractStatFieldListener.processEntry(StatEntry, Object, Map)
public java.util.SortedSet getCurrentObjSet()
public java.util.SortedSet getCurrentObjSet(java.lang.String mapKey)
getCurrentObjSet
in class AbstractStatMultiListener
public java.lang.String toString()
toString
in class AbstractStatListener
Copyright © 2001-2010 Jalios SA. All Rights Reserved.