public class SendDefinition extends Object
Java class for SendActionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SendActionType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.citrusframework.org/schema/testcase}description" minOccurs="0"/>
<element name="message">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice>
<element name="payload">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<any processContents='skip' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="data" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="resource">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="file" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="builder" type="{http://www.citrusframework.org/schema/testcase}ScriptDefinitionType"/>
</choice>
<element name="element" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="path" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" default="xml" />
<attribute name="data-dictionary" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="header" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="data" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="resource" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="file" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="element" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="type">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="integer"/>
<enumeration value="long"/>
<enumeration value="float"/>
<enumeration value="double"/>
<enumeration value="byte"/>
<enumeration value="short"/>
<enumeration value="boolean"/>
<enumeration value="string"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="extract" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="header" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="variable" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="endpoint" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="actor" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="fork" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
SendDefinition.Extract
Java class for anonymous complex type.
|
static class |
SendDefinition.Header
Java class for anonymous complex type.
|
static class |
SendDefinition.Message
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
actor |
protected String |
description |
protected String |
endpoint |
protected SendDefinition.Extract |
extract |
protected Boolean |
fork |
protected SendDefinition.Header |
header |
protected SendDefinition.Message |
message |
| Constructor and Description |
|---|
SendDefinition() |
| Modifier and Type | Method and Description |
|---|---|
String |
getActor()
Gets the value of the actor property.
|
String |
getDescription()
Gets the value of the description property.
|
String |
getEndpoint()
Gets the value of the endpoint property.
|
SendDefinition.Extract |
getExtract()
Gets the value of the extract property.
|
SendDefinition.Header |
getHeader()
Gets the value of the header property.
|
SendDefinition.Message |
getMessage()
Gets the value of the message property.
|
Boolean |
isFork()
Gets the value of the fork property.
|
void |
setActor(String value)
Sets the value of the actor property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setEndpoint(String value)
Sets the value of the endpoint property.
|
void |
setExtract(SendDefinition.Extract value)
Sets the value of the extract property.
|
void |
setFork(Boolean value)
Sets the value of the fork property.
|
void |
setHeader(SendDefinition.Header value)
Sets the value of the header property.
|
void |
setMessage(SendDefinition.Message value)
Sets the value of the message property.
|
protected String description
protected SendDefinition.Message message
protected SendDefinition.Header header
protected SendDefinition.Extract extract
protected String endpoint
protected String actor
protected Boolean fork
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic SendDefinition.Message getMessage()
SendDefinition.Messagepublic void setMessage(SendDefinition.Message value)
value - allowed object is
SendDefinition.Messagepublic SendDefinition.Header getHeader()
SendDefinition.Headerpublic void setHeader(SendDefinition.Header value)
value - allowed object is
SendDefinition.Headerpublic SendDefinition.Extract getExtract()
SendDefinition.Extractpublic void setExtract(SendDefinition.Extract value)
value - allowed object is
SendDefinition.Extractpublic String getEndpoint()
Stringpublic void setEndpoint(String value)
value - allowed object is
Stringpublic String getActor()
Stringpublic void setActor(String value)
value - allowed object is
Stringpublic Boolean isFork()
BooleanCopyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.