public class WGWorkflowEvent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_WORKFLOWMAIL
A workflow mail will be sent.
|
Constructor and Description |
---|
WGWorkflowEvent(int type,
WGContent content,
java.lang.Object mailBody)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
WGContent |
getContent()
The content, for which the event was triggered
|
java.lang.Object |
getMailBody()
An object representing the text body of a workflow mail
|
int |
getType()
The type of workflow event.
|
public static final int TYPE_WORKFLOWMAIL
public WGWorkflowEvent(int type, WGContent content, java.lang.Object mailBody)
type
- content
- mailBody
- public WGContent getContent()
public int getType()
public java.lang.Object getMailBody()