ServiceConfiguration.java [src/csip/api/server] Revision: default  Date:
/*
 * $Id$
 *
 * This file is part of the Cloud Services Integration Platform (CSIP),
 * a Model-as-a-Service framework, API and application suite.
 *
 * 2012-2022, Olaf David and others, OMSLab, Colorado State University.
 *
 * OMSLab licenses this file to you under the MIT license.
 * See the LICENSE file in the project root for more information.
 */
package csip.api.server;

import java.util.logging.Logger;

/**
 * ServiceConfiguration access.
 *
 * @author od
 */
public interface ServiceConfiguration {

  /**
   * Check if property exists.
   *
   * @param key the property key
   * @return true if property exists.
   */
  boolean hasProperty(String key);


  boolean isString(String key, String str);


  String getString(String key, String def);


  String getString(String key);


  boolean getBoolean(String key, boolean def);


  boolean getBoolean(String key);


  int getInt(String key, int def);


  int getInt(String key);


  long getLong(String key, long def);


  long getLong(String key);


  double getDouble(String key, double def);


  double getDouble(String key);


  Logger getSystemLogger();

}