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