Package org.activiti.engine
Interface ProcessEngine
-
- All Known Implementing Classes:
ProcessEngineImpl
@Internal public interface ProcessEngine
Provides access to all the services that expose the BPM and workflow operations.-
RuntimeService
: Allows the creation ofDeployment
s and the starting of and searching onProcessInstance
s. -
TaskService
: Exposes operations to manage human (standalone)Task
s, such as claiming, completing and assigning tasks -
ManagementService
: Exposes engine admin and maintenance operations -
HistoryService
: Service exposing information about ongoing and past process instances.
ProcessEngineConfiguration
instance and is a costly operation which should be avoided. For that purpose, it is advised to store it in a static field or JNDI location (or something similar). This is a thread-safe object, so no special precautions need to be taken.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
VERSION
the version of the activiti library
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
DynamicBpmnService
getDynamicBpmnService()
HistoryService
getHistoryService()
ManagementService
getManagementService()
java.lang.String
getName()
The name as specified in 'process-engine-name' in the activiti.cfg.xml configuration file.ProcessEngineConfiguration
getProcessEngineConfiguration()
RepositoryService
getRepositoryService()
RuntimeService
getRuntimeService()
TaskService
getTaskService()
-
-
-
Field Detail
-
VERSION
static final java.lang.String VERSION
the version of the activiti library- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
java.lang.String getName()
The name as specified in 'process-engine-name' in the activiti.cfg.xml configuration file. The default name for a process engine is 'default
-
close
void close()
-
getRepositoryService
RepositoryService getRepositoryService()
-
getRuntimeService
RuntimeService getRuntimeService()
-
getTaskService
TaskService getTaskService()
-
getHistoryService
HistoryService getHistoryService()
-
getManagementService
ManagementService getManagementService()
-
getDynamicBpmnService
DynamicBpmnService getDynamicBpmnService()
-
getProcessEngineConfiguration
ProcessEngineConfiguration getProcessEngineConfiguration()
-
-