Package com.consol.citrus
Class TestActor
- java.lang.Object
-
- com.consol.citrus.TestActor
-
public class TestActor extends Object
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 Constructor Description TestActor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Gets the name.booleanisDisabled()Gets the disabled.voidsetDisabled(boolean disabled)Sets the disabled.voidsetName(String name)Sets the name.
-
-
-
Method Detail
-
getName
public String getName()
Gets the name.- Returns:
- the name the name to get.
-
setName
public void setName(String name)
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
-
-