public class WorkflowTimeTrigger extends Object
Java class for WorkflowTimeTrigger complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="WorkflowTimeTrigger">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="actions" type="{urn:metadata.tooling.soap.sforce.com}WorkflowActionReference" maxOccurs="unbounded" minOccurs="0"/>
<element name="offsetFromField" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="timeLength" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="workflowTimeTriggerUnit" type="{urn:tooling.soap.sforce.com}WorkflowTimeUnits"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<WorkflowActionReference> |
actions |
protected String |
offsetFromField |
protected String |
timeLength |
protected WorkflowTimeUnits |
workflowTimeTriggerUnit |
| Constructor and Description |
|---|
WorkflowTimeTrigger() |
| Modifier and Type | Method and Description |
|---|---|
List<WorkflowActionReference> |
getActions()
Gets the value of the actions property.
|
String |
getOffsetFromField()
Gets the value of the offsetFromField property.
|
String |
getTimeLength()
Gets the value of the timeLength property.
|
WorkflowTimeUnits |
getWorkflowTimeTriggerUnit()
Gets the value of the workflowTimeTriggerUnit property.
|
void |
setOffsetFromField(String value)
Sets the value of the offsetFromField property.
|
void |
setTimeLength(String value)
Sets the value of the timeLength property.
|
void |
setWorkflowTimeTriggerUnit(WorkflowTimeUnits value)
Sets the value of the workflowTimeTriggerUnit property.
|
protected List<WorkflowActionReference> actions
protected String offsetFromField
protected String timeLength
protected WorkflowTimeUnits workflowTimeTriggerUnit
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 String getOffsetFromField()
Stringpublic void setOffsetFromField(String value)
value - allowed object is
Stringpublic String getTimeLength()
Stringpublic void setTimeLength(String value)
value - allowed object is
Stringpublic WorkflowTimeUnits getWorkflowTimeTriggerUnit()
WorkflowTimeUnitspublic void setWorkflowTimeTriggerUnit(WorkflowTimeUnits value)
value - allowed object is
WorkflowTimeUnitsCopyright © 2016. All rights reserved.