public class Process extends Object implements org.mule.api.lifecycle.Initialisable, org.mule.api.lifecycle.Disposable, MessageService
| Modifier and Type | Field and Description |
|---|---|
static String |
ACTION_ABORT |
static String |
ACTION_ADVANCE |
static String |
ACTION_START |
static String |
ACTION_UPDATE |
static String |
BPM_PROPERTY_PREFIX |
protected static org.apache.commons.logging.Log |
logger |
protected org.mule.api.MuleContext |
muleContext |
static String |
PROCESS_VARIABLE_DATA |
static String |
PROCESS_VARIABLE_INCOMING |
static String |
PROCESS_VARIABLE_INCOMING_SOURCE |
protected String |
processIdField
This field will be used to correlate messages with processes.
|
static String |
PROPERTY_ACTION |
static String |
PROPERTY_ENDPOINT |
static String |
PROPERTY_PROCESS_ID |
static String |
PROPERTY_PROCESS_STARTED |
static String |
PROPERTY_PROCESS_TYPE |
static String |
PROPERTY_TRANSITION |
| Constructor and Description |
|---|
Process(BPMS bpms,
String name,
String resource,
org.mule.api.construct.FlowConstruct flowConstruct,
org.mule.api.MuleContext muleContext) |
Process(BPMS bpms,
String name,
String resource,
String processIdField,
org.mule.api.construct.FlowConstruct flowConstruct,
org.mule.api.MuleContext muleContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
org.mule.api.MuleMessage |
generateMessage(String endpoint,
Object payload,
Map messageProperties,
org.mule.MessageExchangePattern exchangePattern) |
BPMS |
getBpms() |
String |
getName() |
String |
getProcessIdField() |
String |
getResource() |
protected Object |
handleEvent(org.mule.api.MuleEvent event) |
void |
initialise() |
protected void |
populateProcessVariables(org.mule.api.MuleEvent event,
Map processVariables,
org.mule.api.transport.PropertyScope propertyScope) |
protected final String processIdField
protected org.mule.api.MuleContext muleContext
public static final String BPM_PROPERTY_PREFIX
public static final String PROPERTY_ENDPOINT
public static final String PROPERTY_PROCESS_TYPE
public static final String PROPERTY_PROCESS_ID
public static final String PROPERTY_ACTION
public static final String PROPERTY_TRANSITION
public static final String PROPERTY_PROCESS_STARTED
public static final String ACTION_START
public static final String ACTION_ADVANCE
public static final String ACTION_UPDATE
public static final String ACTION_ABORT
public static final String PROCESS_VARIABLE_INCOMING
public static final String PROCESS_VARIABLE_INCOMING_SOURCE
public static final String PROCESS_VARIABLE_DATA
protected static final org.apache.commons.logging.Log logger
public Process(BPMS bpms, String name, String resource, org.mule.api.construct.FlowConstruct flowConstruct, org.mule.api.MuleContext muleContext)
public void initialise()
throws org.mule.api.lifecycle.InitialisationException
initialise in interface org.mule.api.lifecycle.Initialisableorg.mule.api.lifecycle.InitialisationExceptionpublic void dispose()
dispose in interface org.mule.api.lifecycle.Disposableprotected Object handleEvent(org.mule.api.MuleEvent event) throws Exception
Exceptionprotected void populateProcessVariables(org.mule.api.MuleEvent event,
Map processVariables,
org.mule.api.transport.PropertyScope propertyScope)
public org.mule.api.MuleMessage generateMessage(String endpoint, Object payload, Map messageProperties, org.mule.MessageExchangePattern exchangePattern) throws org.mule.api.MuleException
generateMessage in interface MessageServiceorg.mule.api.MuleExceptionpublic String getProcessIdField()
public BPMS getBpms()
public String getResource()
public String getName()
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.