Package org.silverpeas.core.wbe
Class WbeEdition.Configuration
- java.lang.Object
-
- org.silverpeas.core.wbe.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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Optional<T>
get(String key)
Gets an optional configuration detail by its key.<T> WbeEdition.Configuration
put(String key, T value)
Puts an additional configuration.
-
-
-
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.
-
-