public abstract class AbstractActionContainer extends AbstractTestAction implements TestActionContainer
| Modifier and Type | Field and Description |
|---|---|
protected List<TestAction> |
actions
List of nested actions
|
description| Constructor and Description |
|---|
AbstractActionContainer() |
| Modifier and Type | Method and Description |
|---|---|
AbstractActionContainer |
addTestAction(TestAction action)
Adds a test action to the nested action list.
|
long |
getActionCount()
Get the number of embedded actions in this container.
|
int |
getActionIndex(TestAction action)
Returns the index in the action chain for provided action instance.
|
List<TestAction> |
getActions()
Get the embedded test actions within this container.
|
TestAction |
getLastExecutedAction()
Get the action that was executed most recently.
|
TestAction |
getTestAction(int index)
Get the test action with given index in list.
|
AbstractActionContainer |
setActions(List<TestAction> actions)
Sets the embedded test actions to execute within this container.
|
void |
setLastExecutedAction(TestAction action)
Sets the last executed action.
|
doExecute, execute, getActor, getDescription, getName, isDisabled, setActor, setDescription, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, getActor, getDescription, getName, isDisabled, setDescription, setNameprotected List<TestAction> actions
public AbstractActionContainer setActions(List<TestAction> actions)
TestActionContainersetActions in interface TestActionContainerpublic List<TestAction> getActions()
TestActionContainergetActions in interface TestActionContainerpublic long getActionCount()
TestActionContainergetActionCount in interface TestActionContainerpublic AbstractActionContainer addTestAction(TestAction action)
TestActionContaineraddTestAction in interface TestActionContainerpublic int getActionIndex(TestAction action)
TestActionContainergetActionIndex in interface TestActionContainerpublic TestAction getLastExecutedAction()
TestActionContainergetLastExecutedAction in interface TestActionContainerpublic void setLastExecutedAction(TestAction action)
TestActionContainersetLastExecutedAction in interface TestActionContainerpublic TestAction getTestAction(int index)
TestActionContainergetTestAction in interface TestActionContainerCopyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.