Class PropertiesParamPlugin

    • Constructor Detail

      • PropertiesParamPlugin

        @Inject
        public PropertiesParamPlugin​(ResourceManager resourceManager,
                                     String url)
                              throws IOException
        Constructor.
        Parameters:
        resourceManager - Selector
        url - Url du fichier XML de configuration
        Throws:
        IOException - erreur de lecture du fichier
    • Method Detail

      • getParam

        public Optional<Param> getParam​(String paramName)
        Retourne un paramètre de configuration. Retourne none si le paramètre n'est pas géré.
        Specified by:
        getParam in interface ParamPlugin
        Parameters:
        paramName - Param's name
        Returns:
        Value of the param