Package org.citrusframework.config.xml
Class AssertParser.AssertFactoryBean
java.lang.Object
org.citrusframework.config.xml.AbstractTestActionFactoryBean<T,B>
org.citrusframework.config.xml.AbstractTestContainerFactoryBean<Assert,Assert.Builder>
org.citrusframework.config.xml.AssertParser.AssertFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<Assert>
- Enclosing class:
- AssertParser
public static class AssertParser.AssertFactoryBean
extends AbstractTestContainerFactoryBean<Assert,Assert.Builder>
Test action factory bean.
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObtains the builder.Class<?>voidsetAction(TestAction action) Sets the test action.voidsetException(Class<? extends Throwable> exception) Sets the exception.voidsetMessage(String message) Set the message to send.Methods inherited from class org.citrusframework.config.xml.AbstractTestContainerFactoryBean
getObject, setActionsMethods inherited from class org.citrusframework.config.xml.AbstractTestActionFactoryBean
setActor, setDescription, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
AssertFactoryBean
public AssertFactoryBean()
-
-
Method Details
-
setAction
Sets the test action.- Parameters:
action-
-
setMessage
Set the message to send.- Parameters:
message- the message to set
-
setException
Sets the exception.- Parameters:
exception- the exception to set
-
getObject
- Throws:
Exception
-
getObjectType
-
getBuilder
Obtains the builder.- Specified by:
getBuilderin classAbstractTestActionFactoryBean<Assert,Assert.Builder> - Returns:
- the builder implementation.
-