org.jasig.portlet.widget.service
Class BasicAlert
java.lang.Object
org.jasig.portlet.widget.service.BasicAlert
- All Implemented Interfaces:
- IAlert
- Direct Known Subclasses:
- TimestampAlert
public class BasicAlert
- extends Object
- implements IAlert
BasicAlert
public BasicAlert(String header,
String body)
BasicAlert
public BasicAlert(String header,
String body,
String url)
getHeader
public String getHeader()
- Description copied from interface:
IAlert
- Provides the header text for the alert. May contain HTML markup, which
should not be entity encoded.
- Specified by:
getHeader in interface IAlert
getBody
public String getBody()
- Description copied from interface:
IAlert
- Provides the body text for the alert. May contain HTML markup, which
should not be entity encoded.
- Specified by:
getBody in interface IAlert
getUrl
public String getUrl()
- Description copied from interface:
IAlert
- Provides a link to further information about this alter if available,
otherwise null.
- Specified by:
getUrl in interface IAlert
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2012 Jasig. All Rights Reserved.