public abstract class AbstractProcessStartEventBean extends Object implements IProcessStartEventBean
Modifier | Constructor and Description |
---|---|
protected |
AbstractProcessStartEventBean(String _name,
String _description)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected String |
getConfiguration()
Gets the process start event bean configuration
|
String |
getDescription()
Gets a description what this process start event bean does.
|
protected IProcessStartEventBeanRuntime |
getEventBeanRuntime()
Gets the process start event bean runtime
|
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.
|
protected String getConfiguration()
protected IProcessStartEventBeanRuntime getEventBeanRuntime()
public String getDescription()
IProcessStartEventBean
getDescription
in interface IProcessStartEventBean
IProcessStartEventBean.getDescription()
public String getName()
IProcessStartEventBean
getName
in interface IProcessStartEventBean
IProcessStartEventBean.getName()
public void initialize(IProcessStartEventBeanRuntime _eventRuntime, String _configuration)
IProcessStartEventBean
initialize
in interface IProcessStartEventBean
_eventRuntime
- the event runtime. The process start event bean can fire events to the event runtime_configuration
- the configuration of the process start event beanIProcessStartEventBean.initialize(ch.ivyteam.ivy.process.eventstart.IProcessStartEventBeanRuntime, java.lang.String)
public boolean isMoreThanOneInstanceSupported()
IProcessStartEventBean
isMoreThanOneInstanceSupported
in interface IProcessStartEventBean
IProcessStartEventBean.isMoreThanOneInstanceSupported()
public boolean isRunning()
IProcessStartEventBean
IProcessStartEventBean.start(org.eclipse.core.runtime.IProgressMonitor)
was called the method should return true.isRunning
in interface IProcessStartEventBean
IProcessStartEventBean.isRunning()
public void poll()
IProcessStartEventBean
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.poll
in interface IProcessStartEventBean
IProcessStartEventBean.poll()
public void start(org.eclipse.core.runtime.IProgressMonitor monitor)
IProcessStartEventBean
start
in interface IProcessStartEventBean
monitor
- the progress monitorIProcessStartEventBean.start(IProgressMonitor)
public void stop(org.eclipse.core.runtime.IProgressMonitor monitor)
IProcessStartEventBean
stop
in interface IProcessStartEventBean
monitor
- the progress monitorIProcessStartEventBean.stop(IProgressMonitor)
Copyright © 2024
AXON IVY AG
All Rights Reserved Documentation was generated
on April 28, 2024