public class EnvironmentLookup extends MapLookup
| Constructor and Description |
|---|
EnvironmentLookup() |
EnvironmentLookup(String name) |
| Modifier and Type | Method and Description |
|---|---|
String |
nameFromFragments(List<String> fragments)
Assemble an attribute name that conforms to this Lookup's naming scheme from the provided list of name fragments.
|
valueFromNamecapitalize, getNamepublic EnvironmentLookup()
public EnvironmentLookup(String name)
public String nameFromFragments(List<String> fragments)
LookupnameFromFragments in class MapLookupfragments - This will be the camel-cased name of the method from your configuration interface, broken apart
into fragments. For example, "threadPoolSize" will become {"thread", "Pool", "Size"} and
"weatherServiceBaseURL" will become {"weather", "Service", "Base", "URL"}.Copyright © 2017. All rights reserved.