public class MockEvent extends 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,
Serializable value)
Create a new MockEvent with the given name and value.
|
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.
|
public MockEvent(QName name)
name
- the name of the eventpublic MockEvent(QName name, Serializable value)
name
- the name of the eventvalue
- the associated payload of the eventpublic MockEvent(String name)
name
- the name of the eventpublic MockEvent(String name, Serializable value)
name
- the name of the eventvalue
- the associated payload of the eventpublic QName getQName()
getQName
in interface javax.portlet.Event
public String getName()
getName
in interface javax.portlet.Event
public Serializable getValue()
getValue
in interface javax.portlet.Event
Copyright © 2015. All rights reserved.