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 ConditionalPerformableandIfSo(Performable... taskToPerform)protected abstract java.lang.BooleanevaluatedConditionFor(Actor actor)ConditionalPerformableotherwise(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, waitMethods inherited from interface net.serenitybdd.screenplay.Performable
then
-
Field Details
-
outcomeToPerform
-
-
Constructor Details
-
ConditionalPerformable
public ConditionalPerformable()
-
-
Method Details
-
andIfSo
-
otherwise
-
performAs
- Specified by:
performAsin interfacePerformable
-
evaluatedConditionFor
-