| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | Returns: Whether the class property is set and its value equals, ignoring case,"true"
|
| public static boolean | Returns: Whether the value of the class property its value equals, ignoring case,"true", or, if that
class property is not set, defaultValue
|
| public static String | Returns: The value of the class property, or, if that class property is not set,null
|
| public static String | Returns: The value of the class property, or, if that class property is not set, defaultValueGets the value of a "class property". |
| public static int | Returns: The value of the class property, converted to integer, or, if that class property is not set, defaultValue
|
| SystemProperties | back to summary |
|---|---|
| private SystemProperties() | |
| getBooleanClassProperty | back to summary |
|---|---|
public static boolean getBooleanClassProperty(Class<?> targetClass, String classPropertyName)
| |
| getBooleanClassProperty | back to summary |
|---|---|
public static boolean getBooleanClassProperty(Class<?> targetClass, String classPropertyName, boolean defaultValue)
| |
| getClassProperty | back to summary |
|---|---|
public static String getClassProperty(Class<?> targetClass, String classPropertyName)
| |
| getClassProperty | back to summary |
|---|---|
| public static String getClassProperty(Class<?> targetClass, String classPropertyName, String defaultValue) Gets the value of a "class property". A class property is configured by a set of system properties (decreasing priority):
| |
| getIntegerClassProperty | back to summary |
|---|---|
public static int getIntegerClassProperty(Class<?> targetClass, String classPropertyName, int defaultValue)
| |