You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Amber naturally is not going to be able to control EVERYTHING about your application or service, this is why we give you access to the rawest layer of your configuration. To access this layer, you can use this code:
The function ResourceContainerService#get returns the YAMLResourceContainer that houses not only the raw file but also the built-in methods of retrieving and setting data.
Interface Layer
Sometimes, you just want to fetch the interface for your configuration somewhere else. We allow you to do this by using the code:
This code allows you to get the interface of your configuration. OtherConfig would be the interface. Also, I know that this method is a little funky but since I want natural support with Kotlin AND Java, I am unable to use any reified types so this is what I am going to have to work with.