Package net.serenitybdd.screenplay
Class AnonymousPerformableFunction
java.lang.Object
net.serenitybdd.screenplay.AnonymousPerformableFunction
- All Implemented Interfaces:
SkipNested
,CanBeSilent
,Performable
public class AnonymousPerformableFunction extends java.lang.Object implements Performable, CanBeSilent
-
Constructor Summary
Constructors Constructor Description AnonymousPerformableFunction(java.lang.String title, java.util.function.Consumer<Actor> actions)
-
Method Summary
Modifier and Type Method Description boolean
isSilent()
<T extends Actor>
voidperformAs(T actor)
AnonymousPerformableFunction
withNoReporting()
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
-
Constructor Details
-
AnonymousPerformableFunction
public AnonymousPerformableFunction(java.lang.String title, java.util.function.Consumer<Actor> actions)
-
-
Method Details
-
performAs
- Specified by:
performAs
in interfacePerformable
-
isSilent
public boolean isSilent()- Specified by:
isSilent
in interfaceCanBeSilent
-
withNoReporting
-