public class RedirectEventProducer extends AbstractEventProducer
DEFAULT_AUTO_CLOSE_SESSION_ID, DEFAULT_AUTO_PROPAGATE_SESSION_ID, DEFAULT_CHART, DEFAULT_WARN_DELAY, loggerPRODUCER_NAME_PREFIX| Constructor and Description |
|---|
RedirectEventProducer(String newEventName)
Set the event to redirect to but use the current system time for scheduling.
|
RedirectEventProducer(String newEventName,
long delay)
Set the event to redirect to using the given time for scheduling.
|
| Modifier and Type | Method and Description |
|---|---|
List<Event> |
getNextEvents(Event event)
Construct a list of events to follow according the some scenario of business logic.
|
register, resumeTimer, setBeanName, setEventName, setEventNames, setRegistry, stopTimer, suspendTimer, toStringpublic RedirectEventProducer(String newEventName)
newEventName - the new event name that inbound events will be tranformed topublic RedirectEventProducer(String newEventName, long delay)
newEventName - the new event name that inbound events will be tranformed todelay - a delay to add to the current time, 0 to use the current time
or negative values to schedule for the past (whatever that means). If
the events are already future-dated, then this delay is ignored.public List<Event> getNextEvents(Event event)
EventProducerevent - the event that triggered this choiceCopyright © 2005–2018 Alfresco Software. All rights reserved.