| Package | Description |
|---|---|
| org.alfresco.bm.common | |
| org.alfresco.bm.common.mongo | |
| org.alfresco.bm.driver.event | |
| org.alfresco.bm.driver.event.producer | |
| org.alfresco.bm.driver.event.selector |
| Modifier and Type | Method and Description |
|---|---|
Event |
EventRecord.getEvent() |
| Modifier and Type | Method and Description |
|---|---|
List<Event> |
EventResult.getNextEvents() |
| Constructor and Description |
|---|
EventRecord(String driverId,
boolean success,
long startTime,
long time,
Object data,
Event event) |
EventResult(Object data,
Event nextEvent)
Constructor for successful results containing a
future event
with additional data to record. |
| Constructor and Description |
|---|
EventResult(List<Event> nextEvents)
Constructor for successful results containing
future events
without any additional data to record. |
EventResult(Object data,
List<Event> nextEvents)
Constructor for successful results containing
future events
with additional data to record. |
EventResult(Object data,
List<Event> nextEvents,
boolean success)
Constructor for results containing
future events
with additional data to record. |
| Modifier and Type | Method and Description |
|---|---|
Event |
MongoEventService.getEvent(String id) |
Event |
MongoEventService.nextEvent(String driverId,
long latestScheduledTime)
Retrieve the next event in the queue.
|
| Modifier and Type | Method and Description |
|---|---|
List<Event> |
MongoEventService.getEvents(int skip,
int limit) |
| Modifier and Type | Method and Description |
|---|---|
static com.mongodb.DBObject |
MongoEventService.convertEvent(Event event)
Helper method to convert an
Event into a persistable object |
boolean |
MongoEventService.deleteEvent(Event event) |
String |
MongoEventService.putEvent(Event event) |
| Modifier and Type | Method and Description |
|---|---|
Event |
EventService.getEvent(String id)
Retrieve an event by ID
|
Event |
EventService.nextEvent(String driverId,
long latestScheduledTime)
Retrieve the next event in the queue.
|
| Modifier and Type | Method and Description |
|---|---|
List<Event> |
EventService.getEvents(int skip,
int limit)
Only useful for testing: Retrieve all events with paging
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
EventService.deleteEvent(Event event)
Delete an event from the provider.
|
EventResult |
ResultBarrier.processEvent(Event event) |
protected abstract EventResult |
AbstractEventProcessor.processEvent(Event event)
Process an event.
|
EventResult |
RaiseSingleEventEventProcessor.processEvent(Event event) |
EventResult |
DoNothingEventProcessor.processEvent(Event event) |
EventResult |
CreateSessionsEventProcessor.processEvent(Event event) |
EventResult |
RaiseEventsEventProcessor.processEvent(Event event) |
EventResult |
RenameEventProcessor.processEvent(Event event)
Deprecated.
|
EventResult |
EventProcessor.processEvent(Event event,
org.apache.commons.lang3.time.StopWatch stopWatch)
Process an event.
|
EventResult |
AbstractEventProcessor.processEvent(Event event,
org.apache.commons.lang3.time.StopWatch stopWatch)
Process an event.
|
String |
EventService.putEvent(Event event)
Adds an event to the provider.
|
| Constructor and Description |
|---|
EventWork(String driverId,
String testRunFqn,
Event event,
String[] driverIds,
EventProcessor processor,
EventProducerRegistry eventProducers,
EventService eventService,
ResultService resultService,
SessionService sessionService,
TestRunLogService logService)
Construct work to be executed by a thread
|
| Modifier and Type | Method and Description |
|---|---|
List<Event> |
TerminateEventProducer.getNextEvents(Event event) |
List<Event> |
RedirectEventProducer.getNextEvents(Event event) |
List<Event> |
RandomRedirectEventProducer.getNextEvents(Event event) |
List<Event> |
EventProducer.getNextEvents(Event event)
Construct a list of events to follow according the some scenario of business logic.
|
| Modifier and Type | Method and Description |
|---|---|
List<Event> |
TerminateEventProducer.getNextEvents(Event event) |
List<Event> |
RedirectEventProducer.getNextEvents(Event event) |
List<Event> |
RandomRedirectEventProducer.getNextEvents(Event event) |
List<Event> |
EventProducer.getNextEvents(Event event)
Construct a list of events to follow according the some scenario of business logic.
|
| Modifier and Type | Method and Description |
|---|---|
Event |
AbstractEventSelector.nextEvent(Object input,
Object response) |
Event |
EventSelector.nextEvent(Object input,
Object response)
Select next event, which may be "noop" indicating that the event processing should end.
|
| Modifier and Type | Method and Description |
|---|---|
EventResult |
AbstractEventSelectorProcessor.processEvent(Event event) |
protected abstract EventProcessorResponse |
AbstractEventSelectorProcessor.processEventImpl(Event event) |
Copyright © 2005–2018 Alfresco Software. All rights reserved.