Venice 0.751beta

nz.org.venice.alert
Class FileAlertWriter

java.lang.Object
  extended bynz.org.venice.alert.FileAlertWriter
All Implemented Interfaces:
AlertWriter

public class FileAlertWriter
extends java.lang.Object
implements AlertWriter

Store new alerts in the filesystem. Update, delete and enable alerts already stored.

Author:
Mark Hummel
See Also:
AlertWriter

Constructor Summary
FileAlertWriter()
           
 
Method Summary
 void disable(Alert alert)
          Enable an alert.
 void disable(GondolaAlert alert)
           
 void disable(OHLCVAlert alert)
           
 void enable(Alert alert)
          Enable an alert.
 void enable(GondolaAlert alert)
           
 void enable(OHLCVAlert alert)
           
 void remove(Alert alert)
          Remove a specific alert.
 void remove(GondolaAlert alert)
           
 void remove(OHLCVAlert alert)
           
 void set(Alert alert)
           
 void set(GondolaAlert alert)
          Set the alert.
 void set(OHLCVAlert alert)
          Set the alert.
 void update(Alert alert, GondolaAlert newAlert)
          Update the alert and make it a GondolaAlert.
 void update(Alert alert, OHLCVAlert newAlert)
          Update the alert and make it a OHLCVAlert.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileAlertWriter

public FileAlertWriter()
Method Detail

set

public void set(OHLCVAlert alert)
Description copied from interface: AlertWriter
Set the alert.

Specified by:
set in interface AlertWriter
Parameters:
alert - The alert to add

remove

public void remove(OHLCVAlert alert)

remove

public void remove(GondolaAlert alert)

set

public void set(GondolaAlert alert)
Description copied from interface: AlertWriter
Set the alert.

Specified by:
set in interface AlertWriter
Parameters:
alert - The alert to add

update

public void update(Alert alert,
                   OHLCVAlert newAlert)
Description copied from interface: AlertWriter
Update the alert and make it a OHLCVAlert.

Specified by:
update in interface AlertWriter
Parameters:
alert - The alert to modify
newAlert - The alert settings to use for modification

update

public void update(Alert alert,
                   GondolaAlert newAlert)
Description copied from interface: AlertWriter
Update the alert and make it a GondolaAlert.

Specified by:
update in interface AlertWriter
Parameters:
alert - The alert to modify
newAlert - The alert settings to use for modification

enable

public void enable(GondolaAlert alert)

disable

public void disable(GondolaAlert alert)

enable

public void enable(OHLCVAlert alert)

disable

public void disable(OHLCVAlert alert)

set

public void set(Alert alert)

remove

public void remove(Alert alert)
Description copied from interface: AlertWriter
Remove a specific alert.

Specified by:
remove in interface AlertWriter
Parameters:
alert - Tne alert to remove.

enable

public void enable(Alert alert)
Description copied from interface: AlertWriter
Enable an alert.

Specified by:
enable in interface AlertWriter
Parameters:
alert - The alert to enable.

disable

public void disable(Alert alert)
Description copied from interface: AlertWriter
Enable an alert.

Specified by:
disable in interface AlertWriter
Parameters:
alert - The alert to disable.

Venice 0.751beta