Package org.citrusframework.actions
Class TraceVariablesAction
java.lang.Object
org.citrusframework.actions.AbstractTestAction
org.citrusframework.actions.TraceVariablesAction
- All Implemented Interfaces:
org.citrusframework.common.Described,org.citrusframework.common.Named,org.citrusframework.TestAction,org.citrusframework.TestActorAware
Action that prints variable values to the console/logger. Action requires a list of variable
names. Tries to find the variables in the test context and print its values.
- Since:
- 2006
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.citrusframework.actions.AbstractTestAction
description -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoiddoExecute(org.citrusframework.context.TestContext context) Subclasses may add custom execution logic here.Gets the variableNames.Methods inherited from class org.citrusframework.actions.AbstractTestAction
execute, getActor, getDescription, getName, isDisabled, setActor, setDescription, setName
-
Constructor Details
-
TraceVariablesAction
Default constructor.
-
-
Method Details
-
doExecute
public void doExecute(org.citrusframework.context.TestContext context) Description copied from class:AbstractTestActionSubclasses may add custom execution logic here.- Specified by:
doExecutein classAbstractTestAction
-
getVariableNames
Gets the variableNames.- Returns:
- the variableNames
-