@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, setEnabled
protected static final DateTimeFormatter dtf
@Inject protected MonitorComponent component
protected void disable()
disable
in class AbstractConfigurableTask
protected void enable()
enable
in class AbstractConfigurableTask
public Form getCurrentConfiguration()
getCurrentConfiguration
in interface ConfigurableTask
getCurrentConfiguration
in class AbstractConfigurableTask
public Level getLevelTreshold()
public void sendWarningOut(String logBuff)
public void setLevelTreshold(String levelTreshold)
public void setNewConfiguration(Form form)
setNewConfiguration
in interface ConfigurableTask
setNewConfiguration
in class AbstractConfigurableTask
Copyright © 2017 "Tigase, Inc.". All rights reserved.