类 MockEvent
- java.lang.Object
- org.springframework.mock.web.portlet.MockEvent
构造器概要
构造器 构造器 说明 MockEvent(String name)
Create a new MockEvent with the given name.MockEvent(String name, Serializable value)
Create a new MockEvent with the given name and value.MockEvent(QName name)
Create a new MockEvent with the given name.MockEvent(QName name, Serializable value)
Create a new MockEvent with the given name and value.
构造器详细资料
MockEvent
public MockEvent(QName name)
Create a new MockEvent with the given name.- 参数:
name
- the name of the event
MockEvent
public MockEvent(QName name, Serializable value)
Create a new MockEvent with the given name and value.- 参数:
name
- the name of the eventvalue
- the associated payload of the event
MockEvent
public MockEvent(String name)
Create a new MockEvent with the given name.- 参数:
name
- the name of the event
MockEvent
public MockEvent(String name, Serializable value)
Create a new MockEvent with the given name and value.- 参数:
name
- the name of the eventvalue
- the associated payload of the event