Package net.serenitybdd.core.parallel
Class Agency
java.lang.Object
net.serenitybdd.core.parallel.Agency
The Agency keeps track of multiple listeners assigned to different agents (which represent actors or activities), to facilitate parallel execution of test tasks.
Agents can run in parallel and are used to group steps reported by the Serenity Event Bus.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbaseListenerFor(Agent agent) voidstatic AgencyvoidregisterAgent(Agent agent)
-
Constructor Details
-
Agency
protected Agency()
-
-
Method Details
-
getInstance
-
registerAgent
-
baseListenerFor
-
dropAgent
-
currentAgentSpecificListener
-