nz.org.venice.alert
Class AlertManager
java.lang.Object
nz.org.venice.alert.AlertManager
- public class AlertManager
- extends java.lang.Object
Returns the singleton reference to the AlertDestination that the user
has selected in their preferences. This class will also be
updated when the user preferences has changed so the return Alert Destination
will always be update to date.
Example:
List alerts = QuoteSourceManager.getDestination().getAlertsForSymbol("CBA");
- Author:
- Mark
- See Also:
Alert,
AlertWriter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setSourceInstance
public static void setSourceInstance(AlertReader instance)
getReader
public static AlertReader getReader()
getWriter
public static AlertWriter getWriter()
alertsTriggered
public static boolean alertsTriggered(java.util.List triggeredAlerts,
java.util.List triggerValues)