public class Event
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
WILDCARD_EVENT_ID |
| 构造器和说明 |
|---|
Event(java.lang.Object id,
StateContext context)
Creates a new
Event with the specified id and no arguments. |
Event(java.lang.Object id,
StateContext context,
java.lang.Object[] arguments)
Creates a new
Event with the specified id and arguments. |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.Object[] |
getArguments() |
StateContext |
getContext() |
java.lang.Object |
getId() |
java.lang.String |
toString() |
public static final java.lang.String WILDCARD_EVENT_ID
public Event(java.lang.Object id,
StateContext context)
Event with the specified id and no arguments.id - the event id.context - the StateContext the event was triggered for.public Event(java.lang.Object id,
StateContext context,
java.lang.Object[] arguments)
Event with the specified id and arguments.id - the event id.context - the StateContext the event was triggered for.arguments - the event arguments.public StateContext getContext()
StateContext this Event was triggered for.public java.lang.Object getId()
Event.public java.lang.Object[] getArguments()
public java.lang.String toString()
toString 在类中 java.lang.Object