public class MockEvent
extends java.lang.Object
javax.portlet.Event
interface.MockEventRequest
Modifier and Type | Field and Description |
---|---|
private javax.xml.namespace.QName |
name |
private java.io.Serializable |
value |
Constructor and Description |
---|
MockEvent(javax.xml.namespace.QName name)
Create a new MockEvent with the given name.
|
MockEvent(javax.xml.namespace.QName name,
java.io.Serializable value)
Create a new MockEvent with the given name and value.
|
MockEvent(java.lang.String name)
Create a new MockEvent with the given name.
|
MockEvent(java.lang.String name,
java.io.Serializable value)
Create a new MockEvent with the given name and value.
|
private final javax.xml.namespace.QName name
private final java.io.Serializable value
public MockEvent(javax.xml.namespace.QName name)
name
- the name of the eventpublic MockEvent(javax.xml.namespace.QName name, java.io.Serializable value)
name
- the name of the eventvalue
- the associated payload of the eventpublic MockEvent(java.lang.String name)
name
- the name of the eventpublic MockEvent(java.lang.String name, java.io.Serializable value)
name
- the name of the eventvalue
- the associated payload of the event