public final class StubRunnerPropertyUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getProperty(Map<String,String> options,
String propName)
Tries to pick a value from options, for Env vars takes the prop name, converts dots
to underscores and applies upper case
|
static boolean |
hasProperty(Map<String,String> options,
String propName)
For options, system props and env vars returns
true when property is set |
static boolean |
isPropertySet(String propName)
For Env vars takes the prop name, converts dots to underscores and applies upper
case
|
public static boolean isPropertySet(String propName)
public static boolean hasProperty(Map<String,String> options, String propName)
true
when property is setCopyright © 2016–2019 Spring. All rights reserved.