public class IndexTemplate extends FileWritingTemplate implements WaveformMonitor
Constructor and Description |
---|
IndexTemplate() |
IndexTemplate(java.lang.String dirName) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getCopiedConfigFileLocation() |
static java.lang.String |
getHtmlConfigFileName() |
protected java.lang.Object |
getTemplate(java.lang.String tagName,
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.
|
protected void |
initExceptionHandler() |
void |
performRegistration()
Exists so IndexTemplate can be created before arms, in order for
exceptions in initialization to be in the status pages.
|
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 IndexTemplate() throws java.io.IOException
java.io.IOException
public IndexTemplate(java.lang.String dirName) throws java.io.IOException
java.io.IOException
public static java.lang.String getCopiedConfigFileLocation()
public static java.lang.String getHtmlConfigFileName()
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 performRegistration() throws java.lang.Exception
java.lang.Exception
protected java.lang.Object getTemplate(java.lang.String tagName, org.w3c.dom.Element el) throws ConfigurationException
Template
getTemplate
in class FileWritingTemplate
ConfigurationException
protected void initExceptionHandler() throws java.io.IOException
java.io.IOException