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, setName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute, getActor, getDescription, getName, isDisabled, setDescription, setName
protected List<TestAction> actions
public AbstractActionContainer setActions(List<TestAction> actions)
TestActionContainer
setActions
in interface TestActionContainer
public List<TestAction> getActions()
TestActionContainer
getActions
in interface TestActionContainer
public long getActionCount()
TestActionContainer
getActionCount
in interface TestActionContainer
public AbstractActionContainer addTestAction(TestAction action)
TestActionContainer
addTestAction
in interface TestActionContainer
public int getActionIndex(TestAction action)
TestActionContainer
getActionIndex
in interface TestActionContainer
public TestAction getLastExecutedAction()
TestActionContainer
getLastExecutedAction
in interface TestActionContainer
public void setLastExecutedAction(TestAction action)
TestActionContainer
setLastExecutedAction
in interface TestActionContainer
public TestAction getTestAction(int index)
TestActionContainer
getTestAction
in interface TestActionContainer
Copyright © 2008–2017 ConSol Software GmbH. All rights reserved.