public class ThreadActionData extends Object
Constructor and Description |
---|
ThreadActionData() |
Modifier and Type | Method and Description |
---|---|
static void |
addSetup(ThreadSetup s)
Add a per thread setup object to the global list.
|
static BasicAction |
currentAction() |
static BasicAction |
popAction() |
static BasicAction |
popAction(boolean unregister) |
static BasicAction |
popAction(String threadId) |
static BasicAction |
popAction(String threadId,
boolean unregister)
By setting the unregister flag accordingly, information about the thread
is not removed from the action.
|
static void |
purgeAction(BasicAction act) |
static void |
purgeAction(BasicAction act,
Thread t) |
static void |
purgeAction(BasicAction act,
Thread t,
boolean unregister) |
static void |
purgeActions() |
static void |
purgeActions(Thread t) |
static void |
purgeActions(Thread t,
boolean unregister) |
static void |
pushAction(BasicAction a) |
static void |
pushAction(BasicAction a,
boolean register)
By setting the register flag accordingly, information about the thread
may not be propagated to the action, i.e., only the thread's notion of
current changes.
|
static boolean |
removeSetup(ThreadSetup s)
Remove a per thread setup object to the global list.
|
static void |
restoreActions(BasicAction act)
Put back the entire hierarchy, removing whatever is already there.
|
public static BasicAction currentAction()
public static void pushAction(BasicAction a)
public static void pushAction(BasicAction a, boolean register)
public static void restoreActions(BasicAction act)
public static BasicAction popAction() throws NoSuchElementException
NoSuchElementException
public static BasicAction popAction(boolean unregister) throws NoSuchElementException
NoSuchElementException
public static BasicAction popAction(String threadId) throws NoSuchElementException
NoSuchElementException
public static BasicAction popAction(String threadId, boolean unregister) throws NoSuchElementException
NoSuchElementException
public static void purgeAction(BasicAction act) throws NoSuchElementException
NoSuchElementException
public static void purgeAction(BasicAction act, Thread t) throws NoSuchElementException
NoSuchElementException
public static void purgeAction(BasicAction act, Thread t, boolean unregister) throws NoSuchElementException
NoSuchElementException
public static void purgeActions()
public static void purgeActions(Thread t)
public static void purgeActions(Thread t, boolean unregister)
public static void addSetup(ThreadSetup s)
s
- the setup to add.public static boolean removeSetup(ThreadSetup s)
s
- the setup to add.Copyright © 2021 JBoss by Red Hat. All rights reserved.