PropertiesProvider Interface Class

The source of the PropertiesProvider interface is as follows. This class is included in both the NuoDB broker jar, NUODB_HOME/jar/nuoagent.jar, and in the REST API jar, NUODB_HOME/jar/nuodb-rest-api.jar.

/* Copyright 2015 NuoDB, Inc. All rights reserved */

package com.nuodb.agent;

/** {@code java.util.Properties} */
public interface PropertiesProvider {


    /**
     * Returns the value associated with the given key, if any.
     *
     * @param key a {@code String} identifying a property
     *
     * @return the value associated with the key or null if there is none
     */

    String getProperty(String key);
}