public class WorkflowAlert extends WorkflowAction
Java class for WorkflowAlert complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="WorkflowAlert">
<complexContent>
<extension base="{urn:metadata.tooling.soap.sforce.com}WorkflowAction">
<sequence>
<element name="ccEmails" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="protected" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="recipients" type="{urn:metadata.tooling.soap.sforce.com}WorkflowEmailRecipient" maxOccurs="unbounded" minOccurs="0"/>
<element name="senderAddress" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="senderType" type="{urn:tooling.soap.sforce.com}ActionEmailSenderType" minOccurs="0"/>
<element name="template" type="{http://www.w3.org/2001/XMLSchema}string"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
_protected |
protected List<String> |
ccEmails |
protected String |
description |
protected List<WorkflowEmailRecipient> |
recipients |
protected String |
senderAddress |
protected ActionEmailSenderType |
senderType |
protected String |
template |
| Constructor and Description |
|---|
WorkflowAlert() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getCcEmails()
Gets the value of the ccEmails property.
|
String |
getDescription()
Gets the value of the description property.
|
List<WorkflowEmailRecipient> |
getRecipients()
Gets the value of the recipients property.
|
String |
getSenderAddress()
Gets the value of the senderAddress property.
|
ActionEmailSenderType |
getSenderType()
Gets the value of the senderType property.
|
String |
getTemplate()
Gets the value of the template property.
|
boolean |
isProtected()
Gets the value of the protected property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setProtected(boolean value)
Sets the value of the protected property.
|
void |
setSenderAddress(String value)
Sets the value of the senderAddress property.
|
void |
setSenderType(ActionEmailSenderType value)
Sets the value of the senderType property.
|
void |
setTemplate(String value)
Sets the value of the template property.
|
protected String description
protected boolean _protected
protected List<WorkflowEmailRecipient> recipients
protected String senderAddress
protected ActionEmailSenderType senderType
protected String template
public List<String> getCcEmails()
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 ccEmails property.
For example, to add a new item, do as follows:
getCcEmails().add(newItem);
Objects of the following type(s) are allowed in the list
String
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic boolean isProtected()
public void setProtected(boolean value)
public List<WorkflowEmailRecipient> getRecipients()
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 recipients property.
For example, to add a new item, do as follows:
getRecipients().add(newItem);
Objects of the following type(s) are allowed in the list
WorkflowEmailRecipient
public String getSenderAddress()
Stringpublic void setSenderAddress(String value)
value - allowed object is
Stringpublic ActionEmailSenderType getSenderType()
ActionEmailSenderTypepublic void setSenderType(ActionEmailSenderType value)
value - allowed object is
ActionEmailSenderTypepublic String getTemplate()
StringCopyright © 2016. All rights reserved.