◆ containsContextProperty()
static boolean org.turro.elephant.context.ElephantProperties.containsContextProperty |
( |
String |
context, |
|
|
String |
property |
|
) |
| |
|
static |
Definition at line 45 of file ElephantProperties.java.
47 return _elephantContext !=
null ? _elephantContext.containsKey(context +
"_" + property) :
false;
◆ getContextPrefixedProperties()
static List<String> org.turro.elephant.context.ElephantProperties.getContextPrefixedProperties |
( |
String |
context, |
|
|
String |
prefix |
|
) |
| |
|
static |
Definition at line 63 of file ElephantProperties.java.
65 return _elephantContext.keySet().stream()
66 .filter(k -> ((String) k).startsWith(context +
"_" + prefix))
67 .map(k -> (String) _elephantContext.get(k))
68 .collect(Collectors.toList());
◆ getContextProperty() [1/3]
static String org.turro.elephant.context.ElephantProperties.getContextProperty |
( |
String |
context, |
|
|
String |
property |
|
) |
| |
|
static |
◆ getContextProperty() [2/3]
static Boolean org.turro.elephant.context.ElephantProperties.getContextProperty |
( |
String |
context, |
|
|
String |
property, |
|
|
Boolean |
defaultValue |
|
) |
| |
|
static |
◆ getContextProperty() [3/3]
static String org.turro.elephant.context.ElephantProperties.getContextProperty |
( |
String |
context, |
|
|
String |
property, |
|
|
String |
defaultValue |
|
) |
| |
|
static |
Definition at line 54 of file ElephantProperties.java.
56 return _elephantContext !=
null ? _elephantContext.getProperty(context +
"_" + property, defaultValue) :
null;
◆ resetProperties()
static void org.turro.elephant.context.ElephantProperties.resetProperties |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following file: