public interface IProcessIntermediateEventBean
TaskState.WAITING_FOR_INTERMEDIATE_EVENT
.
The beans can be configured in the intermediate event process element.Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Gets a description what this process intermediate event bean does.
|
String |
getName()
Gets the name of the process intermediate event bean
|
void |
initialize(IProcessIntermediateEventBeanRuntime eventRuntime,
String configuration)
Initializes the process intermediate event bean
|
boolean |
isMoreThanOneInstanceSupported()
Does this event bean allow/support that it is instanciated more than once for a certain path.
|
boolean |
isRunning()
True if the process intermediate event bean was started.
|
void |
poll()
This method is called by the process intermediate event bean runtime perodically.
|
void |
start(org.eclipse.core.runtime.IProgressMonitor monitor)
Starts the process intermediate event bean.
|
void |
stop(org.eclipse.core.runtime.IProgressMonitor monitor)
Stops the process intermediate event bean.
|
void initialize(IProcessIntermediateEventBeanRuntime eventRuntime, String configuration)
eventRuntime
- the event runtime. The process intermediate event bean can fire events to the event runtimeconfiguration
- the configuration of the process intermediate event beanString getName()
String getDescription()
void start(org.eclipse.core.runtime.IProgressMonitor monitor)
monitor
- the progress monitorServiceException
- if event bean cannot be started. IProcessIntermediateEventBean.isRunning()
must return false if start has thrown this exception.void stop(org.eclipse.core.runtime.IProgressMonitor monitor)
monitor
- the progress monitorServiceException
- if process intermediate event bean cannot be stopped. IProcessIntermediateEventBean.isRunning()
must return true if stop has thrown this exception.boolean isRunning()
IProcessIntermediateEventBean.start(org.eclipse.core.runtime.IProgressMonitor)
was called the method should return true.void poll()
IProcessIntermediateEventBeanRuntime.setPollTimeInterval(long)
.
Note that the runtime can call this method more than once on an instance if the poll method last longer than the configured
runtime interval. Implementors have to consider this fact.boolean isMoreThanOneInstanceSupported()
Copyright © 2024
AXON IVY AG
All Rights Reserved Documentation was generated
on April 28, 2024