public interface CdsEnvironment
Modifier and Type | Method and Description |
---|---|
ApplicationInfo |
getApplicationInfo() |
CdsProperties |
getCdsProperties() |
<T> T |
getProperty(String key,
Class<T> asClazz,
T defaultValue)
Returns the value of the property with given key as given type
asClazz . |
Stream<ServiceBinding> |
getServiceBindings() |
CdsProperties getCdsProperties()
<T> T getProperty(String key, Class<T> asClazz, T defaultValue)
asClazz
.
Returns the specified default value if key is not existing.T
- the type of the property valuekey
- The key of the propertyasClazz
- The type of the property valuedefaultValue
- The default value if the key is not presentdefaultValue
if not definedStream<ServiceBinding> getServiceBindings()
ServiceBinding
s from the ServiceBindingProvider
registered on the CdsRuntime
ApplicationInfo getApplicationInfo()
ApplicationInfo
from the ApplicationInfoProvider
registered on the CdsRuntime
Copyright © 2021. All rights reserved.