Package org.citrusframework.config.xml
Class TimerParser.TimerFactoryBean
java.lang.Object
org.citrusframework.config.xml.AbstractTestActionFactoryBean<T,B>
org.citrusframework.config.xml.AbstractTestContainerFactoryBean<Timer,Timer.Builder>
org.citrusframework.config.xml.TimerParser.TimerFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<Timer>
- Enclosing class:
- TimerParser
public static class TimerParser.TimerFactoryBean
extends AbstractTestContainerFactoryBean<Timer,Timer.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<?>voidsetDelay(long delay) voidsetFork(boolean fork) voidsetInterval(long interval) voidsetRepeatCount(int repeatCount) voidsetTimerId(String timerId) 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
-
TimerFactoryBean
public TimerFactoryBean()
-
-
Method Details
-
setInterval
public void setInterval(long interval) -
setDelay
public void setDelay(long delay) -
setRepeatCount
public void setRepeatCount(int repeatCount) -
setTimerId
-
setFork
public void setFork(boolean fork) -
getObject
- Throws:
Exception
-
getObjectType
-
getBuilder
Obtains the builder.- Specified by:
getBuilderin classAbstractTestActionFactoryBean<Timer,Timer.Builder> - Returns:
- the builder implementation.
-