public abstract class AbstractTestAction extends Object implements TestAction
| Modifier and Type | Field and Description |
|---|---|
protected String |
description
Describing the test action
|
| Constructor and Description |
|---|
AbstractTestAction() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
doExecute(TestContext context)
Subclasses may add custom execution logic here.
|
void |
execute(TestContext context)
Do basic logging and delegate execution to subclass.
|
TestActor |
getActor()
Gets the actor.
|
String |
getDescription()
Description of this test action
|
String |
getName()
Name of test action injected as Spring bean name
|
boolean |
isDisabled(TestContext context)
Checks if this test action is disabled.
|
AbstractTestAction |
setActor(TestActor actor)
Sets the actor.
|
AbstractTestAction |
setDescription(String description)
Description setter.
|
AbstractTestAction |
setName(String name)
(non-Javadoc)
|
protected String description
public void execute(TestContext context)
execute in interface TestActionpublic boolean isDisabled(TestContext context)
isDisabled in interface TestActioncontext - the current test context.public abstract void doExecute(TestContext context)
public String getDescription()
TestActiongetDescription in interface TestActionpublic AbstractTestAction setDescription(String description)
TestActionsetDescription in interface TestActiondescription - the description to setpublic String getName()
TestActiongetName in interface TestActionpublic AbstractTestAction setName(String name)
setName in interface TestActionTestAction.setName(java.lang.String)public TestActor getActor()
getActor in interface TestActionpublic AbstractTestAction setActor(TestActor actor)
actor - the actor to setCopyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.