Package com.cyberark.conjur.util
Class Properties
- java.lang.Object
-
- com.cyberark.conjur.util.Properties
-
public class Properties extends Object
Properties helpers
-
-
Constructor Summary
Constructors Constructor Description Properties()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetMandatoryProperty(String name)static StringgetMandatoryProperty(String name, String def)Retrieve properties for system properties if not found then retrieve from environment variables.
-
-
-
Method Detail
-
getMandatoryProperty
public static String getMandatoryProperty(String name, String def)
Retrieve properties for system properties if not found then retrieve from environment variables. If still not found and default value is null throw IllegalArgumentException- Parameters:
name- the name of the configuration propertydef- the definition of the property- Returns:
- the properties for system properties
-
-