public class WorkflowRule extends Metadata
Java class for WorkflowRule complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="WorkflowRule">
<complexContent>
<extension base="{urn:metadata.tooling.soap.sforce.com}Metadata">
<sequence>
<element name="actions" type="{urn:metadata.tooling.soap.sforce.com}WorkflowActionReference" maxOccurs="unbounded" minOccurs="0"/>
<element name="active" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="booleanFilter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="criteriaItems" type="{urn:metadata.tooling.soap.sforce.com}FilterItem" maxOccurs="unbounded" minOccurs="0"/>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="formula" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="triggerType" type="{urn:tooling.soap.sforce.com}WorkflowTriggerTypes"/>
<element name="workflowTimeTriggers" type="{urn:metadata.tooling.soap.sforce.com}WorkflowTimeTrigger" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<WorkflowActionReference> |
actions |
protected boolean |
active |
protected String |
booleanFilter |
protected List<FilterItem> |
criteriaItems |
protected String |
description |
protected String |
formula |
protected WorkflowTriggerTypes |
triggerType |
protected List<WorkflowTimeTrigger> |
workflowTimeTriggers |
| Constructor and Description |
|---|
WorkflowRule() |
| Modifier and Type | Method and Description |
|---|---|
List<WorkflowActionReference> |
getActions()
Gets the value of the actions property.
|
String |
getBooleanFilter()
Gets the value of the booleanFilter property.
|
List<FilterItem> |
getCriteriaItems()
Gets the value of the criteriaItems property.
|
String |
getDescription()
Gets the value of the description property.
|
String |
getFormula()
Gets the value of the formula property.
|
WorkflowTriggerTypes |
getTriggerType()
Gets the value of the triggerType property.
|
List<WorkflowTimeTrigger> |
getWorkflowTimeTriggers()
Gets the value of the workflowTimeTriggers property.
|
boolean |
isActive()
Gets the value of the active property.
|
void |
setActive(boolean value)
Sets the value of the active property.
|
void |
setBooleanFilter(String value)
Sets the value of the booleanFilter property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setFormula(String value)
Sets the value of the formula property.
|
void |
setTriggerType(WorkflowTriggerTypes value)
Sets the value of the triggerType property.
|
protected List<WorkflowActionReference> actions
protected boolean active
protected String booleanFilter
protected List<FilterItem> criteriaItems
protected String description
protected String formula
protected WorkflowTriggerTypes triggerType
protected List<WorkflowTimeTrigger> workflowTimeTriggers
public List<WorkflowActionReference> getActions()
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 actions property.
For example, to add a new item, do as follows:
getActions().add(newItem);
Objects of the following type(s) are allowed in the list
WorkflowActionReference
public boolean isActive()
public void setActive(boolean value)
public String getBooleanFilter()
Stringpublic void setBooleanFilter(String value)
value - allowed object is
Stringpublic List<FilterItem> getCriteriaItems()
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 criteriaItems property.
For example, to add a new item, do as follows:
getCriteriaItems().add(newItem);
Objects of the following type(s) are allowed in the list
FilterItem
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic String getFormula()
Stringpublic void setFormula(String value)
value - allowed object is
Stringpublic WorkflowTriggerTypes getTriggerType()
WorkflowTriggerTypespublic void setTriggerType(WorkflowTriggerTypes value)
value - allowed object is
WorkflowTriggerTypespublic List<WorkflowTimeTrigger> getWorkflowTimeTriggers()
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 workflowTimeTriggers property.
For example, to add a new item, do as follows:
getWorkflowTimeTriggers().add(newItem);
Objects of the following type(s) are allowed in the list
WorkflowTimeTrigger
Copyright © 2016. All rights reserved.