Class AnonymousPerformableFunction

java.lang.Object
net.serenitybdd.screenplay.AnonymousPerformableFunction
All Implemented Interfaces:
net.serenitybdd.core.SkipNested, net.serenitybdd.markers.CanBeSilent, Performable

public class AnonymousPerformableFunction extends Object implements Performable, net.serenitybdd.markers.CanBeSilent
  • Constructor Details

    • AnonymousPerformableFunction

      public AnonymousPerformableFunction(String title, Consumer<Actor> actions)
  • Method Details

    • performAs

      public <T extends Actor> void performAs(T actor)
      Specified by:
      performAs in interface Performable
    • isSilent

      public boolean isSilent()
      Specified by:
      isSilent in interface net.serenitybdd.markers.CanBeSilent
    • withNoReporting

      public AnonymousPerformableFunction withNoReporting()