INNER CODE UNIT · Java
whenSystemProperty
citrusframework/citrus · core/citrus-api/src/main/java/org/citrusframework/AbstractSuiteContainerBuilder.java:76
public S whenSystemProperty(String name, String value) {
this.systemProperties.put(name, value);
return self;
}
/**
* Condition on system properties. The before test logic will only run when this condition matches.
* @param systemProperties
*/
public S whenSystemProperties(Map<String, String> systemProperties) {
this.systemProperties.putAll(systemProperties);
return self;
}
/**
* Condition on environment variable with value. The before test logic will only run when this condition matches.
* @param name
* @param value