| Package | Description |
|---|---|
| org.dnwiebe.orienteer | |
| org.dnwiebe.orienteer.converters | |
| org.dnwiebe.orienteer.lookups |
| Modifier and Type | Method and Description |
|---|---|
<T extends Lookup> |
Orienteer.addConverter(Converter converter,
Class<T> lookupType)
Add a type Converter for use only on values returned from a particular kind of Lookup, to enable a new return type
to be mentioned in the configuration interface passed to Orienteer.make().
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
Orienteer.make(Class<T> singletonInterface,
Lookup... lookups)
Manufacture and return an object of a class that implements the provided interface, such that methods called
on that object will produce the highest-priority configuration values available for them.
|
| Modifier and Type | Method and Description |
|---|---|
<T,L extends Lookup> |
Converters.add(Class<T> targetType,
Class<L> lookupType,
Converter<T> converter) |
<T,L extends Lookup> |
Converters.find(Class<T> targetType,
Class<L> lookupType) |
| Modifier and Type | Class and Description |
|---|---|
class |
EnvironmentLookup
Looks up values in the environment.
|
class |
FailingLookup
Throws an exception no matter what value it is asked to look up.
|
class |
JsonFlatLookup
Looks up configuration values in a JSON object.
|
class |
JsonLookup
Created by dnwiebe on 2/26/17.
|
class |
JsonNestingLookup
Looks up configuration values in a JSON structure.
|
class |
MapLookup
Looks up values in a supplied Map<String, String>s.
|
class |
PropertiesLookup
Looks up values in the supplied Properties object.
|
class |
SystemPropsLookup
Looks up values in System.getProperties().
|
class |
TestLookup
Mostly for testing.
|
Copyright © 2017. All rights reserved.