org.wildfly.swarm.spi.api

## Interface ConfigurationFilter

-     public interface ConfigurationFilter

  SPI for user-provided configuration value filtering.

  Implementations will be discovered within the user's classpath and given an opportunity to filter any user-provided configuration values.

  Created by bob on 8/31/17.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `<T> T` | `filter(String key, T value)` Filter the provided configuration key and value.

- - ### Method Detail

    - #### filter

          <T> T filter(String key,
                       T value)

      Filter the provided configuration key and value.

      Each filter will be given an opportunity to filter each user-provided value. If the filter chooses to perform no filtering, it should simply return the original value.

      Type Parameters:
        `T` - The type of the filtered value.
      Parameters:
        `key` - The key of the configuration item to filter.
        `value` - The value to filter.
      Returns:
        The filtered value.

Copyright © 2017 JBoss by Red Hat. All rights reserved.