public static class Env.ConfigSource extends Object implements Env.PropertySource
Env.PropertySource
for Config
.Constructor and Description |
---|
ConfigSource(com.typesafe.config.Config source) |
Modifier and Type | Method and Description |
---|---|
String |
get(String key)
Get a property value or throw
NoSuchElementException . |
public String get(String key) throws NoSuchElementException
Env.PropertySource
NoSuchElementException
.get
in interface Env.PropertySource
key
- Property key/name.NoSuchElementException
.NoSuchElementException
- If property is missing.Copyright © 2017. All rights reserved.