Package net.serenitybdd.screenplay
Class EventBusInterface
java.lang.Object
net.serenitybdd.screenplay.EventBusInterface
public class EventBusInterface
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description EventBusInterface() -
Method Summary
Modifier and Type Method Description voidassignAbilityToActor(Actor actor, java.lang.String ability)voidassignFactToActor(Actor actor, java.lang.String fact)booleanaStepHasFailed()booleanaStepHasFailedInTheCurrentExample()static voidcastActor(java.lang.String name)voiddisableSoftAsserts()voidenableSoftAsserts()voidfinishQuestion()intgetRunningStepCount()voidmergePreviousStep()<T> voidreportStepFailureFor(Consequence<T> consequence, java.lang.Throwable e)voidreportStepFailureFor(Performable todo, java.lang.Throwable e)voidreportStepFinished()voidreportStepIgnored()voidreportStepSkippedFor(Performable todo)booleanshouldIgnoreConsequences()voidstartQuestion(java.lang.String title)booleanstepsAreRunning()voidupdateOverallResult()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
EventBusInterface
public EventBusInterface()
-
-
Method Details
-
castActor
public static void castActor(java.lang.String name) -
reportStepFailureFor
-
reportStepFailureFor
-
getRunningStepCount
public int getRunningStepCount() -
mergePreviousStep
public void mergePreviousStep() -
updateOverallResult
public void updateOverallResult() -
startQuestion
public void startQuestion(java.lang.String title) -
finishQuestion
public void finishQuestion() -
reportStepFinished
public void reportStepFinished() -
reportStepIgnored
public void reportStepIgnored() -
reportStepSkippedFor
-
aStepHasFailed
public boolean aStepHasFailed() -
aStepHasFailedInTheCurrentExample
public boolean aStepHasFailedInTheCurrentExample() -
shouldIgnoreConsequences
public boolean shouldIgnoreConsequences() -
enableSoftAsserts
public void enableSoftAsserts() -
disableSoftAsserts
public void disableSoftAsserts() -
stepsAreRunning
public boolean stepsAreRunning() -
assignFactToActor
-
assignAbilityToActor
-