Class ConditionalPerformable
java.lang.Object
net.serenitybdd.screenplay.conditions.ConditionalPerformable
- All Implemented Interfaces:
SkipNested
,IsHidden
,Performable
- Direct Known Subclasses:
ConditionalPerformableOnBoolean
,ConditionalPerformableOnQuestion
public abstract class ConditionalPerformable extends java.lang.Object implements Performable, IsHidden
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.Boolean,Performable[]>
outcomeToPerform
-
Constructor Summary
Constructors Constructor Description ConditionalPerformable()
-
Method Summary
Modifier and Type Method Description ConditionalPerformable
andIfSo(Performable... taskToPerform)
protected abstract java.lang.Boolean
evaluatedConditionFor(Actor actor)
ConditionalPerformable
otherwise(Performable... taskToPerform)
<T extends Actor>
voidperformAs(T actor)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.serenitybdd.screenplay.Performable
then
-
Field Details
-
outcomeToPerform
-
-
Constructor Details
-
ConditionalPerformable
public ConditionalPerformable()
-
-
Method Details
-
andIfSo
-
otherwise
-
performAs
- Specified by:
performAs
in interfacePerformable
-
evaluatedConditionFor
-