Package io.qameta.allure.internal
Class AllureThreadContext
java.lang.Object
io.qameta.allure.internal.AllureThreadContext
Storage that stores information about not finished tests and steps.
-
Constructor Details
-
AllureThreadContext
public AllureThreadContext()
-
-
Method Details
-
getCurrent
Returns last (most recent) uuid. -
getRoot
Returns first (oldest) uuid. -
start
Adds new uuid. -
stop
Removes latest added uuid. Ignores empty context.- Returns:
- removed uuid.
-
clear
public void clear()Removes all the data stored for current thread.
-