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

com.github.dadiyang.httpinvoker.propertyresolver.PropertyResolver Maven / Gradle / Ivy

There is a newer version: 1.2.4
Show newest version
package com.github.dadiyang.httpinvoker.propertyresolver;

/**
 * Interface for resolving properties.
 *
 * @author dadiyang
 * @since 1.0.9
 */
public interface PropertyResolver {
    /**
     * Check whether the given property key is available.
     *
     * @param key the property name to resolve
     * @return whether the given property key is available.
     */
    boolean containsProperty(String key);

    /**
     * Return the property value associated with the given key,
     * or {@code null} if the key cannot be resolved.
     *
     * @param key the property name to resolve
     * @return the property value associated with the given key
     */
    String getProperty(String key);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy