Class AnonymousPerformableRunnable

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

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

    • AnonymousPerformableRunnable

      public AnonymousPerformableRunnable(String title, Runnable 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 AnonymousPerformableRunnable withNoReporting()