public class TestDelivery extends BaseDelivery
TestDelivery is a simple Delivery class for automated testing.
| Modifier and Type | Field and Description |
|---|---|
protected String |
m_message
The message.
|
m_address, m_elementId| Constructor and Description |
|---|
TestDelivery(String address,
String elementId,
String message)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
String |
compose()
Compose a message for delivery to the client.
|
boolean |
equals(Object obj)
Are these the same?
|
String |
getMessage()
Display.
|
String |
toString()
Display.
|
act, getAddress, getElement, hashCode, setAddress, setElementprotected String m_message
public String compose()
compose in interface Deliverycompose in class BaseDeliverypublic String toString()
toString in class BaseDeliverypublic String getMessage()
public boolean equals(Object obj)
equals in class BaseDeliveryCopyright © 2003–2019 The Sakai Foundation. All rights reserved.