public abstract class AbstractVelocityStatus extends java.lang.Object implements WaveformMonitor, NetworkMonitor
| Constructor and Description |
|---|
AbstractVelocityStatus(org.w3c.dom.Element config) |
AbstractVelocityStatus(java.lang.String fileDir,
java.lang.String templateName) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getNestedTextForElement(java.lang.String elementName,
org.w3c.dom.Element config) |
abstract int |
getNumDirDeep()
Method getNumDirDeep returns how many directories below the base status
directory this template will write
|
static java.lang.String |
getTemplateName(org.w3c.dom.Element config) |
protected java.lang.String |
loadTemplate()
loads the default template, given by the tag in the config.
|
protected java.lang.String |
loadTemplate(java.lang.String templateName)
loads the named template.
|
void |
scheduleOutput(java.lang.String filename,
org.apache.velocity.context.Context context)
Schedules the default template (from the element in the config,
for output.
|
void |
scheduleOutput(java.lang.String filename,
org.apache.velocity.context.Context context,
java.lang.String template)
Schedules the given template for output.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitupdate, update, update, updatechange, change, change, change, setArmStatuspublic AbstractVelocityStatus(org.w3c.dom.Element config)
throws java.sql.SQLException,
java.net.MalformedURLException,
java.io.IOException
java.sql.SQLExceptionjava.net.MalformedURLExceptionjava.io.IOExceptionpublic AbstractVelocityStatus(java.lang.String fileDir,
java.lang.String templateName)
throws java.sql.SQLException,
java.io.IOException
java.sql.SQLExceptionjava.io.IOExceptionpublic static java.lang.String getTemplateName(org.w3c.dom.Element config)
throws java.net.MalformedURLException
java.net.MalformedURLExceptionpublic static java.lang.String getNestedTextForElement(java.lang.String elementName,
org.w3c.dom.Element config)
public abstract int getNumDirDeep()
protected java.lang.String loadTemplate()
throws java.io.IOException
java.io.IOExceptionprotected java.lang.String loadTemplate(java.lang.String templateName)
throws java.io.IOException
java.io.IOExceptionpublic void scheduleOutput(java.lang.String filename,
org.apache.velocity.context.Context context)
public void scheduleOutput(java.lang.String filename,
org.apache.velocity.context.Context context,
java.lang.String template)