Package tigase.monitor.tasks
Class LoggerTask
java.lang.Object
tigase.monitor.tasks.AbstractConfigurableTask
tigase.monitor.tasks.LoggerTask
- All Implemented Interfaces:
Initializable
,UnregisterAware
,ConfigurableTask
,MonitorTask
@Bean(name="logger-task",
parent=MonitorComponent.class,
active=true)
public class LoggerTask
extends AbstractConfigurableTask
implements Initializable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
disable()
protected void
enable()
tigase.form.Form
void
Method will be called, when bean will be created, configured and ready to use.void
sendWarningOut
(String logBuff) void
setLevelTreshold
(String levelTreshold) void
setNewConfiguration
(tigase.form.Form form) Methods inherited from class tigase.monitor.tasks.AbstractConfigurableTask
beforeUnregister, isEnabled, setEnabled
-
Field Details
-
log
-
dtf
protected static final tigase.util.datetime.TimestampHelper dtf -
component
-
eventBus
-
-
Constructor Details
-
LoggerTask
public LoggerTask()
-
-
Method Details
-
getCurrentConfiguration
public tigase.form.Form getCurrentConfiguration()- Specified by:
getCurrentConfiguration
in interfaceConfigurableTask
- Overrides:
getCurrentConfiguration
in classAbstractConfigurableTask
-
getLevelTreshold
-
setLevelTreshold
-
initialize
public void initialize()Description copied from interface:Initializable
Method will be called, when bean will be created, configured and ready to use.- Specified by:
initialize
in interfaceInitializable
- Overrides:
initialize
in classAbstractConfigurableTask
-
sendWarningOut
-
setNewConfiguration
public void setNewConfiguration(tigase.form.Form form) - Specified by:
setNewConfiguration
in interfaceConfigurableTask
- Overrides:
setNewConfiguration
in classAbstractConfigurableTask
-
disable
protected void disable()- Overrides:
disable
in classAbstractConfigurableTask
-
enable
protected void enable()- Overrides:
enable
in classAbstractConfigurableTask
-