tigase.monitor.tasks

## Class AbstractConfigurableTask

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

- All Implemented Interfaces:
    UnregisterAware, ConfigurableTask, MonitorTask
  Direct Known Subclasses:
    AbstractConfigurableTimerTask, LoggerTask, ScriptTask

      public abstract class AbstractConfigurableTask
      extends Object
      implements MonitorTask, ConfigurableTask, UnregisterAware

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractConfigurableTask()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `beforeUnregister()`
    `protected void` | `disable()`
    `protected void` | `enable()`
    `Form` | `getCurrentConfiguration()`
    `boolean` | `isEnabled()`
    `void` | `setEnabled(boolean value)`
    `void` | `setNewConfiguration(Form form)`

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

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

- - ### Constructor Detail

    - #### AbstractConfigurableTask

          public AbstractConfigurableTask()

  - ### Method Detail

    - #### beforeUnregister

          public void beforeUnregister()

      Specified by:
        `beforeUnregister` in interface `UnregisterAware`

    - #### disable

          protected void disable()

    - #### enable

          protected void enable()

    - #### getCurrentConfiguration

          public Form getCurrentConfiguration()

      Specified by:
        `getCurrentConfiguration` in interface `ConfigurableTask`

    - #### isEnabled

          public boolean isEnabled()

    - #### setEnabled

          public void setEnabled(boolean value)

    - #### setNewConfiguration

          public void setNewConfiguration(Form form)

      Specified by:
        `setNewConfiguration` in interface `ConfigurableTask`

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