public class CatchDefinition extends Object
Java class for CatchActionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CatchActionType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.citrusframework.org/schema/testcase}description" minOccurs="0"/>
<group ref="{http://www.citrusframework.org/schema/testcase}actionGroup" maxOccurs="unbounded"/>
</sequence>
<attribute name="exception" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
actionsAndSendsAndReceives |
protected String |
description |
protected String |
exception |
| Constructor and Description |
|---|
CatchDefinition() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getActionsAndSendsAndReceives()
Gets the value of the actionsAndSendsAndReceives property.
|
String |
getDescription()
Gets the value of the description property.
|
String |
getException()
Gets the value of the exception property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setException(String value)
Sets the value of the exception property.
|
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic List<Object> getActionsAndSendsAndReceives()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the actionsAndSendsAndReceives property.
For example, to add a new item, do as follows:
getActionsAndSendsAndReceives().add(newItem);
Objects of the following type(s) are allowed in the list
WaitDefinition
AntDefinition
IterateDefinition
ParallelDefinition
StartDefinition
CatchDefinition
ExpectTimeoutDefinition
JavaDefinition
StopDefinition
SequentialDefinition
AssertDefinition
CreateVariablesDefinition
ReceiveDefinition
LoadDefinition
GroovyDefinition
SendDefinition
RepeatUntilTrueDefinition
ConditionalDefinition
FailDefinition
TraceTimeDefinition
Object
PurgeChannelDefinition
ActionDefinition
TransformDefinition
PlsqlDefinition
EchoDefinition
RepeatOnerrorUntilTrueDefinition
InputDefinition
CallTemplateDefinition
SqlDefinition
SleepDefinition
PurgeEndpointDefinition
TraceVariablesDefinition
public String getException()
StringCopyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.