public abstract class AbstractTestActionBuilder<T extends TestAction> extends Object implements TestAction, TestActionBuilder<T>
| Modifier and Type | Field and Description |
|---|---|
protected T |
action
The test action observed by this builder
|
| Constructor and Description |
|---|
AbstractTestActionBuilder(T action)
Default constructor with test action.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractTestActionBuilder<T> |
actor(TestActor actor)
Sets the actor this action is related with.
|
T |
build()
Gets the action.
|
AbstractTestActionBuilder<T> |
description(String description)
Sets the description of the test action.
|
void |
execute(TestContext context) |
TestActor |
getActor() |
String |
getDescription() |
String |
getName() |
boolean |
isDisabled(TestContext context) |
TestAction |
setActor(TestActor actor) |
AbstractTestActionBuilder |
setDescription(String description) |
AbstractTestActionBuilder |
setName(String name) |
protected T extends TestAction action
public AbstractTestActionBuilder(T action)
action - public AbstractTestActionBuilder<T> description(String description)
description - public AbstractTestActionBuilder<T> actor(TestActor actor)
actor - public T build()
build in interface TestActionBuilder<T extends TestAction>public final void execute(TestContext context)
execute in interface TestActionpublic final boolean isDisabled(TestContext context)
isDisabled in interface TestActionpublic final String getName()
getName in interface TestActionpublic final AbstractTestActionBuilder setName(String name)
setName in interface TestActionpublic TestActor getActor()
getActor in interface TestActionpublic TestAction setActor(TestActor actor)
setActor in interface TestActionpublic final String getDescription()
getDescription in interface TestActionpublic final AbstractTestActionBuilder setDescription(String description)
setDescription in interface TestActionCopyright © 2008–2019 ConSol Software GmbH. All rights reserved.