@Bean(name="logger-task") public class LoggerTask extends AbstractConfigurableTask
| Modifier and Type | Field and Description |
|---|---|
protected MonitorComponent |
component |
protected static DateTimeFormatter |
dtf |
protected EventBus |
eventBus |
| Constructor and Description |
|---|
LoggerTask() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
disable() |
protected void |
enable() |
Form |
getCurrentConfiguration() |
Level |
getLevelTreshold() |
void |
sendWarningOut(String logBuff) |
void |
setLevelTreshold(String levelTreshold) |
void |
setNewConfiguration(Form form) |
beforeUnregister, isEnabled, setEnabledprotected static final DateTimeFormatter dtf
@Inject protected MonitorComponent component
protected void disable()
disable in class AbstractConfigurableTaskprotected void enable()
enable in class AbstractConfigurableTaskpublic Form getCurrentConfiguration()
getCurrentConfiguration in interface ConfigurableTaskgetCurrentConfiguration in class AbstractConfigurableTaskpublic Level getLevelTreshold()
public void sendWarningOut(String logBuff)
public void setLevelTreshold(String levelTreshold)
public void setNewConfiguration(Form form)
setNewConfiguration in interface ConfigurableTasksetNewConfiguration in class AbstractConfigurableTaskCopyright © 2017 "Tigase, Inc.". All rights reserved.