public interface IProcessStartEventBean
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Gets a description what this process start event bean does.
|
String |
getName()
Gets the name of the process start event bean
|
void |
initialize(IProcessStartEventBeanRuntime eventRuntime,
String configuration)
Initializes the process start 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 start event bean was started.
|
void |
poll()
This method is called by the process start event bean runtime perodically.
|
void |
start(org.eclipse.core.runtime.IProgressMonitor monitor)
Starts the process start event bean.
|
void |
stop(org.eclipse.core.runtime.IProgressMonitor monitor)
Stops the process start event bean.
|
void initialize(IProcessStartEventBeanRuntime eventRuntime, String configuration)
eventRuntime
- the event runtime. The process start event bean can fire events to the event runtimeconfiguration
- the configuration of the process start event beanString getName()
String getDescription()
void start(org.eclipse.core.runtime.IProgressMonitor monitor)
monitor
- the progress monitorServiceException
- if event bean cannot be started. IProcessStartEventBean.isRunning()
must return false if start has thrown this exception.void stop(org.eclipse.core.runtime.IProgressMonitor monitor)
monitor
- the progress monitorServiceException
- if process start event bean cannot be stopped. IProcessStartEventBean.isRunning()
must return true if stop has thrown this exception.boolean isRunning()
IProcessStartEventBean.start(org.eclipse.core.runtime.IProgressMonitor)
was called the method should return true.void poll()
IProcessStartEventBeanRuntime.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