Package tigase.licence

## Interface LicenceCheckerUpdateCallback

- All Known Implementing Classes:
    `LicenceCheckerUpdateCallbackImpl`

      public interface LicenceCheckerUpdateCallback

  Interface for handling updates of statistics data on per-component basis.
  Author:
    Wojciech Kapcia

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `additionalValidation​(Licence lic)` | Additional licence validation.
    `Element` | `getComponentAdditionalData()` | Method responsible for obtaining additional component information to be submitted to the server.
    `default java.lang.String` | `getID()` | Method returns unique identifier of a callback
    `java.lang.String` | `getMissingLicenseWarning()` | Method responsible for retrieving warning about missing licence.
    `default java.util.Optional<java.util.Map<java.lang.String,​java.lang.String>>` | `getServerVerifiableMetrics()` |

- - ### Method Detail

    - #### getID

          default java.lang.String getID()

      Method returns unique identifier of a callback
      Returns:

    - #### getComponentAdditionalData

          Element getComponentAdditionalData()

      Method responsible for obtaining additional component information to be submitted to the server.
      Returns:
        object with updated StatisticsData

    - #### getServerVerifiableMetrics

          default java.util.Optional<java.util.Map<java.lang.String,​java.lang.String>> getServerVerifiableMetrics()

    - #### getMissingLicenseWarning

          java.lang.String getMissingLicenseWarning()

      Method responsible for retrieving warning about missing licence.
      Returns:
        a value of `String`

    - #### additionalValidation

          boolean additionalValidation​(Licence lic)

      Additional licence validation.
      Parameters:
        `lic` - licence
      Returns:
        `true` if addiotional check passed and licence is valid.