Interface Configuration.ConfigurationPart

Enclosing interface:
Configuration

public static interface Configuration.ConfigurationPart
Represents configuration part that is obtained from yaml configuration. The part can hold simple values like string or numbers, but also list and maps.
  • Method Details

    • hasValue

      boolean hasValue()
    • getValue

      Object getValue()
    • asString

      String asString()
    • asInt

      int asInt()
    • asLong

      long asLong()
    • asList

      <T> List<T> asList(Class<T> type)
    • asMap

      <K, V> Map<K,V> asMap(Class<K> ks, Class<V> vs)
    • orElse

      <T> T orElse(T defaultValue)