tigase.monitor.tasks

## Class SampleTask

- java.lang.Object
- - tigase.monitor.tasks.AbstractConfigurableTask
  - - tigase.monitor.tasks.AbstractConfigurableTimerTask
    - - tigase.monitor.tasks.SampleTask

- All Implemented Interfaces:
    UnregisterAware, ConfigurableTask, MonitorTask

      @Bean(name="sample-task")
      public class SampleTask
      extends AbstractConfigurableTimerTask

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SampleTask()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `enable()`
    `Form` | `getCurrentConfiguration()`
    `protected void` | `run()`
    `void` | `setNewConfiguration(Form form)`

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

      `beforeUnregister, disable, getPeriod, getTimerTaskService, setPeriod, setPeriod, setTimerTaskService`

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

      `isEnabled, setEnabled`

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

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

- - ### Constructor Detail

    - #### SampleTask

          public SampleTask()

  - ### Method Detail

    - #### enable

          protected void enable()

      Overrides:
        `enable` in class `AbstractConfigurableTimerTask`

    - #### getCurrentConfiguration

          public Form getCurrentConfiguration()

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

    - #### run

          protected void run()

      Specified by:
        `run` in class `AbstractConfigurableTimerTask`

    - #### setNewConfiguration

          public void setNewConfiguration(Form form)

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

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