Package org.citrusframework.condition
Class ActionCondition
java.lang.Object
org.citrusframework.condition.AbstractCondition
org.citrusframework.condition.ActionCondition
- All Implemented Interfaces:
Condition
- Since:
- 2.7.6
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ActionCondition(TestAction action) Default constructor using test action to execute. -
Method Summary
Modifier and TypeMethodDescriptionGets the test action of this conditionGets the caughtException.getErrorMessage(TestContext context) getSuccessMessage(TestContext context) booleanisSatisfied(TestContext context) voidsetAction(TestAction action) Sets the Action to set for this conditionvoidsetCaughtException(Exception caughtException) Sets the caughtException.toString()Methods inherited from class org.citrusframework.condition.AbstractCondition
getName
-
Constructor Details
-
ActionCondition
public ActionCondition()Default constructor. -
ActionCondition
Default constructor using test action to execute.- Parameters:
action- The test action to execute
-
-
Method Details
-
isSatisfied
-
getSuccessMessage
-
getErrorMessage
-
getAction
Gets the test action of this condition- Returns:
- The test action
-
setAction
Sets the Action to set for this condition- Parameters:
action- The test action to set
-
getCaughtException
Gets the caughtException.- Returns:
- The exception
-
setCaughtException
Sets the caughtException.- Parameters:
caughtException- the exception to set
-
toString
-