All Downloads are FREE. Search and download functionalities are using the official Maven repository.

click.webelement.pagefactory.parameterized.DefaultParameterProvider Maven / Gradle / Ivy

The newest version!
package click.webelement.pagefactory.parameterized;

import java.util.HashMap;
import java.util.Map;

/**
 * @author Alexey Razgulyaev
 */
public class DefaultParameterProvider implements IParameterProvider{

    public static ThreadLocal> properties = ThreadLocal.withInitial(() -> new HashMap<>());

    @Override
    public String getParameter(String parameterName) {
        return properties.get().get(parameterName);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy