tigase.monitor.tasks

## Class LoggerTask

- java.lang.Object
- - tigase.monitor.tasks.AbstractConfigurableTask
  - - tigase.monitor.tasks.LoggerTask

- All Implemented Interfaces:
    UnregisterAware, ConfigurableTask, MonitorTask

      @Bean(name="logger-task")
      public class LoggerTask
      extends AbstractConfigurableTask

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected MonitorComponent` | `component`
    `protected static DateTimeFormatter` | `dtf`
    `protected EventBus` | `eventBus`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `LoggerTask()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    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)`

    - ### Methods inherited from class tigase.monitor.tasks.AbstractConfigurableTask

      `beforeUnregister, isEnabled, setEnabled`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### dtf

          protected static final DateTimeFormatter dtf

    - #### component

          @Inject
          protected MonitorComponent component

    - #### eventBus

          @Inject
          protected EventBus eventBus

  - ### Constructor Detail

    - #### LoggerTask

          public LoggerTask()

  - ### Method Detail

    - #### disable

          protected void disable()

      Overrides:
        `disable` in class `AbstractConfigurableTask`

    - #### enable

          protected void enable()

      Overrides:
        `enable` in class `AbstractConfigurableTask`

    - #### getCurrentConfiguration

          public Form getCurrentConfiguration()

      Specified by:
        `getCurrentConfiguration` in interface `ConfigurableTask`
      Overrides:
        `getCurrentConfiguration` in class `AbstractConfigurableTask`

    - #### getLevelTreshold

          public Level getLevelTreshold()

    - #### sendWarningOut

          public void sendWarningOut(String logBuff)

    - #### setLevelTreshold

          public void setLevelTreshold(String levelTreshold)

    - #### setNewConfiguration

          public void setNewConfiguration(Form form)

      Specified by:
        `setNewConfiguration` in interface `ConfigurableTask`
      Overrides:
        `setNewConfiguration` in class `AbstractConfigurableTask`

Copyright © 2022 "Tigase, Inc.". All rights reserved.