Package org.citrusframework
Class TestActor
java.lang.Object
org.citrusframework.TestActor
Actor performs send/receive message actions. With send/receive actors we can enable/disable Citrus message simulation
very easily. This enables a fast switch in end-to-end testing when a simulated application suddenly is real and we have to disable
the simulated communication parts in a test.
- Since:
- 1.3
- Author:
- Christoph Deppisch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets the name.booleanGets the disabled.voidsetDisabled(boolean disabled) Sets the disabled.voidSets the name.
-
Constructor Details
-
TestActor
public TestActor()
-
-
Method Details
-
getName
Gets the name.- Returns:
- the name the name to get.
-
setName
Sets the name.- Parameters:
name- the name to set
-
isDisabled
public boolean isDisabled()Gets the disabled.- Returns:
- the disabled the disabled to get.
-
setDisabled
public void setDisabled(boolean disabled) Sets the disabled.- Parameters:
disabled- the disabled to set
-