Package io.vertigo.core.param
Interface ParamManager
-
- All Superinterfaces:
Component
,CoreComponent
,Manager
- All Known Implementing Classes:
ParamManagerImpl
public interface ParamManager extends Manager
Interface du gestionnaire de la configuration applicative. Une configuration possède une liste de paramètres. Un paramètre est - identifié par un nom. - camelCase.camelCase et ne contient que des lettres et chiffres; les séparateurs sont des points. Les paramètres sont de trois types : -boolean -String -int Exemple en json : { server.host : "wiki", server.port : "5455", maxUsers :"10", } getStringValue("server.host") => wiki getStringValue("host") => erreur.- Author:
- pchretien, npiedeloup, prahmoune
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<Param>
getOptionalParam(String paramName)
Returns the optional value for a param which may be present / or not, defined by its name.Param
getParam(String paramName)
Returns the value for a param, defined by its name.
-