Package org.bonitasoft.engine.tracking
Class AbstractFlushEventListener
- java.lang.Object
-
- org.bonitasoft.engine.tracking.AbstractFlushEventListener
-
- All Implemented Interfaces:
FlushEventListener
- Direct Known Subclasses:
CSVFlushEventListener,MemoryFlushEventListener
public abstract class AbstractFlushEventListener extends java.lang.Object implements FlushEventListener
- Author:
- Charles Souillard
-
-
Field Summary
Fields Modifier and Type Field Description protected TechnicalLoggerServicelogger
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractFlushEventListener(boolean activateByDefault, TechnicalLoggerService logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivate()voiddeactivate()java.lang.StringgetName()java.lang.StringgetStatus()booleanisActive()protected voidlog(TechnicalLogSeverity severity, java.lang.String message)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.bonitasoft.engine.tracking.FlushEventListener
flush, notifyStartTracking, notifyStopTracking
-
-
-
-
Field Detail
-
logger
protected final TechnicalLoggerService logger
-
-
Constructor Detail
-
AbstractFlushEventListener
protected AbstractFlushEventListener(boolean activateByDefault, TechnicalLoggerService logger)
-
-
Method Detail
-
getStatus
public java.lang.String getStatus()
- Specified by:
getStatusin interfaceFlushEventListener
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceFlushEventListener
-
isActive
public boolean isActive()
- Specified by:
isActivein interfaceFlushEventListener
-
activate
public void activate()
- Specified by:
activatein interfaceFlushEventListener
-
deactivate
public void deactivate()
- Specified by:
deactivatein interfaceFlushEventListener
-
log
protected void log(TechnicalLogSeverity severity, java.lang.String message)
-
-