Interface IProcessEngineService
-
- All Known Implementing Classes:
ProcessEngineAgent
public interface IProcessEngineService
This monitoring service can be used to start bpmn processes according to its defined start events (currently time, rule).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ISubscriptionIntermediateFuture<ProcessEngineEvent>
addBpmnModel(java.lang.String model, IResourceIdentifier rid)
Add a bpmn model that is monitored for start events.IIntermediateFuture<Tuple2<java.lang.String,IResourceIdentifier>>
getBpmnModels()
Get the currently monitored processes.IFuture<java.lang.Void>
processEvent(java.lang.Object event, java.lang.String type)
Process an event.IFuture<java.lang.Void>
removeBpmnModel(java.lang.String model, IResourceIdentifier urid)
Remove a bpmn model.
-
-
-
Method Detail
-
addBpmnModel
ISubscriptionIntermediateFuture<ProcessEngineEvent> addBpmnModel(java.lang.String model, IResourceIdentifier rid)
Add a bpmn model that is monitored for start events.- Parameters:
model
- The bpmn modelrid
- The resource identifier (null for all platform jar resources).cortype
- The correlation factory.
-
removeBpmnModel
IFuture<java.lang.Void> removeBpmnModel(java.lang.String model, IResourceIdentifier urid)
Remove a bpmn model.- Parameters:
model
- The bpmn modelrid
- The resource identifier (null for all platform jar resources).
-
getBpmnModels
IIntermediateFuture<Tuple2<java.lang.String,IResourceIdentifier>> getBpmnModels()
Get the currently monitored processes.- Returns:
- The currently observed bpmn models.
-
processEvent
IFuture<java.lang.Void> processEvent(java.lang.Object event, java.lang.String type)
Process an event.
-
-