public class EventStatusTemplate extends FileWritingTemplate implements EventMonitor, WaveformMonitor
Constructor and Description |
---|
EventStatusTemplate(org.w3c.dom.Element el) |
Modifier and Type | Method and Description |
---|---|
void |
change(CacheEvent event,
Status status) |
java.lang.Object |
getTemplate(java.lang.String tag,
org.w3c.dom.Element el)
if this class has an template for this tag, it creates it using the
passed in element and returns it.
|
void |
setArmStatus(java.lang.String status) |
void |
update(EventChannelPair ecp) |
void |
update(EventNetworkPair ecp) |
void |
update(EventStationPair ecp) |
void |
update(EventVectorPair ecp) |
getBaseDirectoryName, getFilename, getOutputDirectory, getOutputLocation, getResult, run, testOutputLoc, textTemplate, toString, write, write
getCommonTemplate, parse, parse, setUp
public EventStatusTemplate(org.w3c.dom.Element el) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException, ConfigurationException
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
ConfigurationException
public void setArmStatus(java.lang.String status)
setArmStatus
in interface EventMonitor
public java.lang.Object getTemplate(java.lang.String tag, org.w3c.dom.Element el) throws ConfigurationException
Template
getTemplate
in class FileWritingTemplate
ConfigurationException
public void update(EventNetworkPair ecp)
update
in interface WaveformMonitor
public void update(EventStationPair ecp)
update
in interface WaveformMonitor
public void update(EventChannelPair ecp)
update
in interface WaveformMonitor
public void update(EventVectorPair ecp)
update
in interface WaveformMonitor
public void change(CacheEvent event, Status status)
change
in interface EventMonitor