ImaPluginConfigValidator (Eclipse Amlen Javadoc Reference)

Package com.ibm.ima.plugin

## Interface ImaPluginConfigValidator

-     public interface ImaPluginConfigValidator

  A plug-in custom properties validator. If plug-in implements this interface the validate method will be called every time plug-in is installed or plug-in configuration files (pluginproperties.json and/or plugin.json) are updated.

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static String` | `COPYRIGHT` |

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `validate​(ImaPlugin plugin)` | Method to validate custom plug-in configuration

- - ### Field Detail

    - #### COPYRIGHT

          static final String COPYRIGHT

      See Also:
        Constant Field Values

  - ### Method Detail

    - #### validate

          void validate​(ImaPlugin plugin)
                 throws ImaPluginException

      Method to validate custom plug-in configuration
      Parameters:
        `plugin` - The plug-in object which contains methods which the plug-in can call to get the configuration.
      Throws:
        `ImaPluginException` - thrown if configuration is not valid