com.jalios.jcms.stat
Interface StatListener

All Known Implementing Classes:
AbstractStatFieldListener, AbstractStatListener, AbstractStatMultiListener, RawExportStatListener, StatCrossingListener, StatDataListener, StatDateTimeListener, StatFieldListener, StatMatchPatternListener, StatPublicationListener, StatRequestListener, StatSessionListener

public interface StatListener

An interface representing a listener on log analyse.

Since:
jcms-5.0.0
Version:
$Revision: 28041 $
Author:
Jean-Philippe Encausse

Field Summary
static String ALL_WORKSPACE
           
static String REVISION
           
static int TRUNCATE
           
 
Method Summary
 String getName()
          Return the distinguish name of the listener
 void handleEndOfStatEntries()
          Called when parsing is finished and then no more line will be send
 void handleStartDocument()
          handle start document event
 boolean handleStatEntry(StatEntry entry)
          Handle a line of Log
 void init(PortletStat portlet, PortalElement report)
          Init the Portlet attributs
 

Field Detail

REVISION

static final String REVISION
See Also:
Constant Field Values

ALL_WORKSPACE

static final String ALL_WORKSPACE
See Also:
Constant Field Values

TRUNCATE

static final int TRUNCATE
See Also:
Constant Field Values
Method Detail

init

void init(PortletStat portlet,
          PortalElement report)
Init the Portlet attributs

Parameters:
portlet -
report -
Since:
jcms-5.0.0

handleStatEntry

boolean handleStatEntry(StatEntry entry)
Handle a line of Log

Parameters:
entry -
Returns:
true if line is handle
Since:
jcms-5.0.0

handleEndOfStatEntries

void handleEndOfStatEntries()
Called when parsing is finished and then no more line will be send

Since:
jcms-5.0.0

getName

String getName()
Return the distinguish name of the listener

Returns:
String
Since:
jcms-5.0.0

handleStartDocument

void handleStartDocument()
handle start document event

Since:
jcms-7.0.0


Copyright © 2001-2010 Jalios SA. All Rights Reserved.