Hyperfoil

conditional

Perform an action or sequence of actions conditionally.

Property Type Description
actions Action.Builder Actions that should be executed should the condition hold.
allConditions Builder Condition combining multiple other conditions with ‘AND’ logic.
boolCondition Builder Condition comparing boolean variables.
condition Builder <no description>
intCondition Builder Condition comparing integer variables.
stringCondition Builder Condition comparing string variables.

allConditions

Property Type Description
<list of mappings> <list of builders> <no description>

allConditions.<list of mappings>

Property Type Description
allConditions Builder Condition combining multiple other conditions with ‘AND’ logic.
boolCondition Builder Condition comparing boolean variables.
intCondition Builder Condition comparing integer variables.
stringCondition Builder Condition comparing string variables.

boolCondition

Property Type Description
fromVar <unknown> <no description>
value <unknown> <no description>

condition

Property Type Description
allConditions Builder Condition combining multiple other conditions with ‘AND’ logic.
boolCondition Builder Condition comparing boolean variables.
intCondition Builder Condition comparing integer variables.
stringCondition Builder Condition comparing string variables.

condition.allConditions

Property Type Description
<list of mappings> <list of builders> <no description>

condition.boolCondition

Property Type Description
fromVar <unknown> <no description>
value <unknown> <no description>

condition.intCondition

Condition comparing integer in session variable.

Property Type Description
equalTo int Compared variable must be equal to this value.
fromVar Object Variable name.
greaterOrEqualTo int Compared variable must be greater or equal to this value.
greaterThan int Compared variable must be greater than this value.
isSet boolean Check if the value is set or unset. By default the variable must be set.
lessOrEqualTo int Compared variable must be lower or equal to this value.
lessThan int Compared variable must be lower than this value.
notEqualTo int Compared variable must not be equal to this value.

condition.stringCondition

Property Type Description
caseSensitive boolean True if the case must match, false if the check is case-insensitive.
endsWith CharSequence Suffix for the string.
equalTo CharSequence Literal value the string should match (the same as {@link #value}).
fromVar <unknown> <no description>
isSet boolean Check if the value is set or unset. By default the variable must be set.
matchVar String Fetch the value from a variable.
negate boolean Invert the logic of this condition. Defaults to false.
notEqualTo CharSequence Value that the string must not match.
self <none>
Note: property does not have any value
startsWith CharSequence Prefix for the string.
value CharSequence Literal value the string should match.

intCondition

Condition comparing integer in session variable.

Property Type Description
equalTo int Compared variable must be equal to this value.
fromVar Object Variable name.
greaterOrEqualTo int Compared variable must be greater or equal to this value.
greaterThan int Compared variable must be greater than this value.
isSet boolean Check if the value is set or unset. By default the variable must be set.
lessOrEqualTo int Compared variable must be lower or equal to this value.
lessThan int Compared variable must be lower than this value.
notEqualTo int Compared variable must not be equal to this value.

stringCondition

Property Type Description
caseSensitive boolean True if the case must match, false if the check is case-insensitive.
endsWith CharSequence Suffix for the string.
equalTo CharSequence Literal value the string should match (the same as {@link #value}).
fromVar <unknown> <no description>
isSet boolean Check if the value is set or unset. By default the variable must be set.
matchVar String Fetch the value from a variable.
negate boolean Invert the logic of this condition. Defaults to false.
notEqualTo CharSequence Value that the string must not match.
self <none>
Note: property does not have any value
startsWith CharSequence Prefix for the string.
value CharSequence Literal value the string should match.