org.jasig.portlet.widget.service
Class BasicAlert

java.lang.Object
  extended by org.jasig.portlet.widget.service.BasicAlert
All Implemented Interfaces:
IAlert
Direct Known Subclasses:
TimestampAlert

public class BasicAlert
extends Object
implements IAlert


Constructor Summary
BasicAlert(String header, String body)
           
BasicAlert(String header, String body, String url)
           
 
Method Summary
 String getBody()
          Provides the body text for the alert.
 String getHeader()
          Provides the header text for the alert.
 String getUrl()
          Provides a link to further information about this alter if available, otherwise null.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicAlert

public BasicAlert(String header,
                  String body)

BasicAlert

public BasicAlert(String header,
                  String body,
                  String url)
Method Detail

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.