| Constructor and Description |
|---|
SYS() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
getBoolProp(String key,
boolean defaultValue) |
static double |
getDoubleProp(String key,
double defaultValue) |
static String |
getEnv(String key) |
static String |
getEnv(String key,
String defaultValue) |
static int |
getIntProp(String key,
int defaultValue) |
static long |
getLongProp(String key,
long defaultValue) |
static String |
getProp(String key) |
static String |
getProp(String key,
String defaultValue) |
static String |
getRequiredEnv(String key) |
static String |
getRequiredProp(String key) |
static String |
resolveExpr(String valueOrExpr) |
static String |
resolveExpr(String valueOrExpr,
Out<Boolean> isExpr) |
static String |
resolveString(String str) |
static String |
resolveString(String str,
Map<String,Object> parameters) |
static String |
resolveString(String str,
Object... parameters) |
static IllegalStateException |
toNoValueExprException(String expr) |
public static boolean getBoolProp(String key, boolean defaultValue)
public static int getIntProp(String key, int defaultValue)
public static long getLongProp(String key, long defaultValue)
public static double getDoubleProp(String key, double defaultValue)
public static String resolveString(String str) throws IllegalStateException
IllegalStateExceptionpublic static String resolveString(String str, Map<String,Object> parameters) throws IllegalStateException
IllegalStateExceptionpublic static String resolveString(String str, Object... parameters) throws IllegalStateException
IllegalStateExceptionpublic static String resolveExpr(String valueOrExpr) throws IllegalStateException
IllegalStateExceptionpublic static IllegalStateException toNoValueExprException(String expr)
Copyright © 2021. All rights reserved.