public class PrepareWorkflows
extends org.alfresco.bm.event.AbstractEventProcessor
EVENT_NAME_WORKFLOWS_CREATED: No data| Modifier and Type | Field and Description |
|---|---|
static List<String> |
DEFAUL_WORKFLOW_DEFINITIONS |
static String |
EVENT_NAME_WORKFLOWS_CREATED |
| Constructor and Description |
|---|
PrepareWorkflows(WorkflowDAO workflowDAO,
long workflowCount) |
| Modifier and Type | Method and Description |
|---|---|
org.alfresco.bm.event.EventResult |
processEvent(org.alfresco.bm.event.Event event) |
void |
setEventNameWorkflowsCreated(String eventNameWorkflowsCreated)
Override the
default event name when processes have been created. |
void |
setWorkflowDefinitions(List<String> workflowDefinitions)
Set the worklfow-definition id's that will be used when creating new processes.
|
getName, getWarnDelay, isAutoCloseSessionId, isAutoPropagateSessionId, isChart, processEvent, register, resumeTimer, setAutoCloseSessionId, setAutoPropagateSessionId, setBeanName, setChart, setEventName, setEventNames, setRegistry, setWarnDelay, stopTimer, suspendTimer, toStringpublic static final String EVENT_NAME_WORKFLOWS_CREATED
public PrepareWorkflows(WorkflowDAO workflowDAO, long workflowCount)
workflowCount - number of workflows to createpublic void setEventNameWorkflowsCreated(String eventNameWorkflowsCreated)
default event name when processes have been created.public void setWorkflowDefinitions(List<String> workflowDefinitions)
workflowDefinitions - the definitions to use. This should be a fully-qualified workflow definition
id, including engine-id. Eg. activiti$adhocCopyright © 2016. All rights reserved.