org.apache.cayenne.configuration

## Interface RuntimeProperties

- All Known Implementing Classes:
    DefaultRuntimeProperties

      public interface RuntimeProperties

  Represents a properties map for a given `CayenneRuntime`.
  Since:
    3.1

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and 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 Detail

    - #### 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)

Copyright © 2001–2023 Apache Cayenne. All rights reserved.