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 void
assignAbilityToActor(Actor actor, java.lang.String ability)
void
assignFactToActor(Actor actor, java.lang.String fact)
boolean
aStepHasFailed()
boolean
aStepHasFailedInTheCurrentExample()
static void
castActor(java.lang.String name)
void
disableSoftAsserts()
void
enableSoftAsserts()
void
finishQuestion()
int
getRunningStepCount()
void
mergePreviousStep()
<T> void
reportStepFailureFor(Consequence<T> consequence, java.lang.Throwable e)
void
reportStepFailureFor(Performable todo, java.lang.Throwable e)
void
reportStepFinished()
void
reportStepIgnored()
void
reportStepSkippedFor(Performable todo)
boolean
shouldIgnoreConsequences()
void
startQuestion(java.lang.String title)
boolean
stepsAreRunning()
void
updateOverallResult()
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
-