Class SysVar
java.lang.Object
de.chojo.jdautil.util.SysVar
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringenvOrPropOrThrow(String property, String environment) envOrPropOrThrow(String env, String prop, Supplier<T> throwableSupplier) Deprecated.static StringgetOrDefault(String property, String environment, String def) static StringgetOrThrow(String property, String environment, Supplier<RuntimeException> throwableSupplier) Deprecated.getOrThrowChecked(String property, String environment, Supplier<T> throwableSupplier) Deprecated.static StringpropOrEnvOrThrow(String property, String environment) propOrEnvOrThrow(String property, String environment, Supplier<T> throwableSupplier)
-
Constructor Details
-
SysVar
public SysVar()
-
-
Method Details
-
getOrThrow
@Deprecated public static String getOrThrow(String property, String environment, Supplier<RuntimeException> throwableSupplier) Deprecated. -
getOrThrowChecked
-
envOrPropOrThrow
-
propOrEnvOrThrow
-
envOrPropOrThrow
-
propOrEnvOrThrow
-
getOrDefault
-
get
Deprecated. -
envOrProp
-
propOrEnv
-
envOrProp
-
propOrEnv
-
get
-