use of com.axway.ats.core.system.model.ISystemOperations in project ats-framework by Axway.
the class SystemOperations method getSystemProperty.
/**
* Get the value of the environment's system property.<br/>
*
* It calls internally System.getProperty("property name");
*
* @param propertyName the name of the system property
* @return the value of the system property
*/
@PublicAtsApi
public String getSystemProperty(@Validate(name = "propertyName", type = ValidationType.NOT_NULL) String propertyName) {
// validate input parameters
new Validator().validateMethodParameters(new Object[] { propertyName });
// execute action
ISystemOperations operations = getOperationsImplementationFor(atsAgent);
return operations.getSystemProperty(propertyName);
}
Aggregations