public final class SystemProperties extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
getBooleanClassProperty(Class<?> targetClass,
String classPropertyName) |
static boolean |
getBooleanClassProperty(Class<?> targetClass,
String classPropertyName,
boolean defaultValue) |
static String |
getClassProperty(Class<?> targetClass,
String classPropertyName) |
static String |
getClassProperty(Class<?> targetClass,
String classPropertyName,
String defaultValue)
Gets the value of a "class property".
|
public static boolean getBooleanClassProperty(Class<?> targetClass, String classPropertyName)
"true"getClassProperty(Class, String, String)public static boolean getBooleanClassProperty(Class<?> targetClass, String classPropertyName, boolean defaultValue)
"true", or, if that
class property is not set, defaultValuegetClassProperty(Class, String, String)@Nullable public static String getClassProperty(Class<?> targetClass, String classPropertyName)
nullgetClassProperty(Class, String, String)@Nullable public static String getClassProperty(Class<?> targetClass, String classPropertyName, @Nullable String defaultValue)
A class property is configured by a set of system properties (decreasing priority):
.classPropertyName.classPropertyNameCopyright © 2020. All rights reserved.