Class WbeEdition.Configuration

  • Enclosing class:
    WbeEdition

    public static class WbeEdition.Configuration
    extends Object
    This class permits to handle additional configuration that can set by Silverpeas and be used by WBE clients.
    • Method Detail

      • put

        public <T> WbeEdition.Configuration put​(String key,
                                                T value)
        Puts an additional configuration.
        Type Parameters:
        T - the type of the value.
        Parameters:
        key - a key that permits the client to retrieve the additional configuration.
        value - the value indexed by the key.
        Returns:
        itself.
      • get

        public <T> Optional<T> get​(String key)
        Gets an optional configuration detail by its key.
        Type Parameters:
        T - the type of the value indexed by the key.
        Parameters:
        key - the key of the configuration detail.
        Returns:
        the optional configuration detail.