Interface RuntimeProperties

All Known Implementing Classes:
DefaultRuntimeProperties

public interface RuntimeProperties
Represents a properties map for a given CayenneRuntime.
Since:
3.1
  • Method Summary

    Modifier and Type Method Description
    String get​(String key)
    Returns a String property value for a given key.
    String get​(String key, String defaultValue)
    Returns a String property value for a given key or a default value if a value is not present in properties or is null.
    boolean getBoolean​(String key, boolean defaultValue)  
    int getInt​(String key, int defaultValue)  
    long getLong​(String key, long defaultValue)  
  • Method Details

    • get

      String get​(String key)
      Returns a String property value for a given key.
    • get

      String get​(String key, String defaultValue)
      Returns a String property value for a given key or a default value if a value is not present in properties or is null.
      Since:
      4.0
    • getInt

      int getInt​(String key, int defaultValue)
    • getLong

      long getLong​(String key, long defaultValue)
    • getBoolean

      boolean getBoolean​(String key, boolean defaultValue)