public class SerenitySystemProperties extends Object
| Constructor and Description |
|---|
SerenitySystemProperties() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getBooleanValue(ThucydidesSystemProperty property,
boolean defaultValue) |
Integer |
getIntegerValue(ThucydidesSystemProperty property,
Integer defaultValue) |
static SerenitySystemProperties |
getProperties() |
String |
getValue(ThucydidesSystemProperty property) |
String |
getValue(ThucydidesSystemProperty property,
String defaultValue) |
boolean |
isDefined(ThucydidesSystemProperty property) |
boolean |
isEmpty(ThucydidesSystemProperty property) |
void |
setValue(ThucydidesSystemProperty property,
String value)
Sets a Serenity system property to s specified value.
|
public static SerenitySystemProperties getProperties()
public String getValue(ThucydidesSystemProperty property)
public boolean isDefined(ThucydidesSystemProperty property)
public String getValue(ThucydidesSystemProperty property, String defaultValue)
public boolean isEmpty(ThucydidesSystemProperty property)
public void setValue(ThucydidesSystemProperty property, String value)
property - the name of the propertyvalue - the property valuepublic Integer getIntegerValue(ThucydidesSystemProperty property, Integer defaultValue)
public Boolean getBooleanValue(ThucydidesSystemProperty property, boolean defaultValue)
Copyright © 2023. All rights reserved.