|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.alfresco.bm.event.EventResult
public class EventResult
The result of event processing.
Instances can contain future events and additional
data to for record purposes.
| Constructor Summary | |
|---|---|
EventResult(List<Event> nextEvents)
Constructor for successful results containing future events
without any additional data to record. |
|
EventResult(Serializable data,
Event nextEvent)
Constructor for successful results containing a future event
with additional data to record. |
|
EventResult(Serializable data,
List<Event> nextEvents)
Constructor for successful results containing future events
with additional data to record. |
|
EventResult(Serializable data,
List<Event> nextEvents,
boolean success)
Constructor for results containing future events
with additional data to record. |
|
| Method Summary | |
|---|---|
Serializable |
getData()
|
List<Event> |
getNextEvents()
|
boolean |
isSuccess()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventResult(List<Event> nextEvents)
future events
without any additional data to record.
nextEvents - any events that now follow on the processed event (may be empty)
public EventResult(Serializable data,
List<Event> nextEvents)
future events
with additional data to record.
data - additional data to record (e.g. a Throwable)nextEvents - any events that now follow on the processed event (may be empty)
public EventResult(Serializable data,
Event nextEvent)
future event
with additional data to record.
data - additional data to record (e.g. a Throwable)nextEvent - the event that now follow on the processed event (never null)
public EventResult(Serializable data,
List<Event> nextEvents,
boolean success)
future events
with additional data to record.
data - additional data to record (e.g. a Throwable)nextEvents - any events that now follow on the processed event (may be empty)success - true if the result represents a successful operation| Method Detail |
|---|
public Serializable getData()
public List<Event> getNextEvents()
public boolean isSuccess()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||