Package org.silverpeas.components.datawarning

## Class DataWarningInstancePreDestruction

- java.lang.Object
- - org.silverpeas.components.datawarning.DataWarningInstancePreDestruction

- All Implemented Interfaces:
    `org.silverpeas.core.admin.component.ComponentInstancePreDestruction`

      @Service
      @Named
      public class DataWarningInstancePreDestruction
      extends Object
      implements org.silverpeas.core.admin.component.ComponentInstancePreDestruction

  Before being deleted, clean up all the resources (data warning, scheduler, query, ...) used by the instance.
  Author:
    mmoquillon

- - ### Field Summary

    - ### Fields inherited from interface org.silverpeas.core.admin.component.ComponentInstancePreDestruction

      `NAME_SUFFIX, WORKFLOW_PRE_DESTRUCTION`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `DataWarningInstancePreDestruction()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `preDestroy​(String componentInstanceId)` | Performs pre destruction tasks in the behalf of the specified DataWarning instance.

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

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

- - ### Constructor Detail

    - #### DataWarningInstancePreDestruction

          public DataWarningInstancePreDestruction()

  - ### Method Detail

    - #### preDestroy

          public void preDestroy​(String componentInstanceId)

      Performs pre destruction tasks in the behalf of the specified DataWarning instance.
      Specified by:
        `preDestroy` in interface `org.silverpeas.core.admin.component.ComponentInstancePreDestruction`
      Parameters:
        `componentInstanceId` - the unique identifier of the DataWarning instance.