public class MockEvent
extends java.lang.Object
implements javax.portlet.Event
Event interface.MockEventRequest| Constructor and Description |
|---|
MockEvent(QName name)
Create a new MockEvent with the given name.
|
MockEvent(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.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
QName |
getQName() |
java.io.Serializable |
getValue() |
public MockEvent(QName name)
name - the name of the eventpublic MockEvent(java.lang.String name)
name - the name of the eventpublic MockEvent(QName name, java.io.Serializable value)
name - the name of the eventvalue - the associated payload of the eventpublic MockEvent(java.lang.String name,
java.io.Serializable value)
name - the name of the eventvalue - the associated payload of the eventpublic java.lang.String getName()
getName in interface javax.portlet.Eventpublic QName getQName()
getQName in interface javax.portlet.Eventpublic java.io.Serializable getValue()
getValue in interface javax.portlet.EventCopyright © 2019 Liferay, Inc.. All Rights Reserved.