- get(String) - Method in interface com.xpcagey.config.api.Config
-
Attempt to retrieve an element by key in a type safe manner that allows functional chaining; best used when a
key is not required and the program needs to branch based on its presence
- getAlias() - Method in class com.xpcagey.config.api.Descriptor
-
- getAll() - Method in interface com.xpcagey.config.api.Config
-
Returns a snapshot of the current elements inside this configuration; if there were multiple descriptors used to
build a compound configuration the map will be flattened to show only the values that would be returned by
get queries.
- getAsDuration() - Method in interface com.xpcagey.config.api.Element
-
- getAsInstant() - Method in interface com.xpcagey.config.api.Element
-
- getAsString() - Method in interface com.xpcagey.config.api.Element
-
- getKey() - Method in interface com.xpcagey.config.api.Element
-
The key for this element relative to the root of its configuration
- getName() - Method in interface com.xpcagey.config.api.Config
-
Returns the name of this configuration; useful if a program wants to have distinct configuration blocks that each
correspond to a different context.
- getOrNull(String) - Method in interface com.xpcagey.config.api.Config
-
Attempt to retrieve an element by key efficiently by not wrapping for type safety if it is missing; best used
in situations where temporary object creation overhead is not acceptable but the value is not required
- getOrThrow(String) - Method in interface com.xpcagey.config.api.Config
-
Attempt to retrieve an element by key without needing conditional logic to interpret the result; best used when
a default has been set for the key or when the program must have a value to operate correctly.
- getProvider() - Method in class com.xpcagey.config.api.Descriptor
-
- getRawPath() - Method in class com.xpcagey.config.api.Descriptor
-
- getRawPath() - Method in class com.xpcagey.config.api.KeyedDescriptor
-
- getRawPath() - Method in class com.xpcagey.config.api.PathDescriptor
-
- getResolverInputs() - Method in class com.xpcagey.config.api.Descriptor
-
- getResolverInputs() - Method in class com.xpcagey.config.api.KeyedDescriptor
-
- getResolverInputs() - Method in class com.xpcagey.config.api.PathDescriptor
-
- getSources() - Method in interface com.xpcagey.config.api.Config
-
Lists the items that were used to construct this configuration; useful for debugging