public class OrphanedTagExecutor extends java.lang.Object implements TagExecutor, TagEvaluationContext
Constructor and Description |
---|
OrphanedTagExecutor(TagValueListener tagListener) |
Modifier and Type | Method and Description |
---|---|
void |
addValueChange(TagPropertyValue value) |
ExpressionParseContext |
createExpressionParseContext(TagPath parentPath)
Creates a parse context to be used by the owning tag to parse references.
|
void |
evaluateTag(ExecutableTag tag)
This function is used to execute the tag outside of the normal scan class.
|
java.lang.String |
getDefaultDatasource() |
java.lang.String |
getDefaultTagSource()
Returns the default tag source to be used when parsing tag reference paths.
|
java.lang.String |
getDisplayNameForPath(TagPath path)
Returns a friendly, fully qualified path for the given tag.
|
TagEvaluationContext |
getEvaluationContext() |
FunctionFactory |
getExpressionFunctionFactory() |
GatewayContext |
getGatewayContext() |
java.util.Date |
getLastEvaluationTime()
The last time the executor tried to run the tags.
|
java.lang.String |
getName() |
QualifiedPath |
getObjectPath() |
java.lang.String |
getOpcSubscriptionName()
The name of the opc subscription to be used by sub-tags.
|
ScriptManager |
getScriptManager()
Returns the ScriptManager that can be used to execute Python scripts.
|
org.apache.log4j.Logger |
getTagErrorLogger() |
TagManagerBase |
getTagManager()
Returns a tagmanagerbase that can be used to look up tag references.
|
TagScriptManager |
getTagScriptManager() |
boolean |
isAsyncExec()
Indicates whether the tags should execute asynchronously, whenever they can, or wait until evaluate is
called.
|
void |
sampleDiagnostics(DiagnosticsSample sample)
Provides the sample upon which the object can set diagnostics information.
|
void |
storeHistoricalValue(java.lang.String historicalProvider,
HistoricalTagValue value) |
void |
writeOPCValue(TagOPCWriteRequest value) |
void |
writeSQLTagValue(AsyncWriteRequest<TagPath> value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getWriteTimeoutMS, useOPCOptimisticWrite, useOPCReadAfterWrite
getExecutionManager
public OrphanedTagExecutor(TagValueListener tagListener)
public java.lang.String getName()
getName
in interface SQLTagsExecutor
public java.lang.String getDisplayNameForPath(TagPath path)
SQLTagsExecutor
getDisplayNameForPath
in interface SQLTagsExecutor
public QualifiedPath getObjectPath()
getObjectPath
in interface SQLTagsExecutor
public java.lang.String getDefaultDatasource()
getDefaultDatasource
in interface SQLTagsExecutor
public org.apache.log4j.Logger getTagErrorLogger()
getTagErrorLogger
in interface SQLTagsExecutor
public java.lang.String getDefaultTagSource()
SQLTagsExecutor
getDefaultTagSource
in interface SQLTagsExecutor
public GatewayContext getGatewayContext()
getGatewayContext
in interface SQLTagsExecutor
public TagManagerBase getTagManager()
SQLTagsExecutor
getTagManager
in interface SQLTagsExecutor
public ScriptManager getScriptManager()
SQLTagsExecutor
getScriptManager
in interface SQLTagsExecutor
public TagScriptManager getTagScriptManager()
getTagScriptManager
in interface SQLTagsExecutor
public java.lang.String getOpcSubscriptionName()
TagExecutor
getOpcSubscriptionName
in interface TagExecutor
public FunctionFactory getExpressionFunctionFactory()
getExpressionFunctionFactory
in interface TagExecutor
public ExpressionParseContext createExpressionParseContext(TagPath parentPath)
TagExecutor
createExpressionParseContext
in interface TagExecutor
public java.util.Date getLastEvaluationTime()
TagExecutor
getLastEvaluationTime
in interface TagExecutor
public boolean isAsyncExec()
TagExecutor
isAsyncExec
in interface TagExecutor
public TagEvaluationContext getEvaluationContext()
getEvaluationContext
in interface TagExecutor
public void addValueChange(TagPropertyValue value)
addValueChange
in interface TagEvaluationContext
public void sampleDiagnostics(DiagnosticsSample sample)
Diagnosable
sampleDiagnostics
in interface Diagnosable
public void storeHistoricalValue(java.lang.String historicalProvider, HistoricalTagValue value)
storeHistoricalValue
in interface TagEvaluationContext
public void writeSQLTagValue(AsyncWriteRequest<TagPath> value)
writeSQLTagValue
in interface TagWriteContext
public void writeOPCValue(TagOPCWriteRequest value)
writeOPCValue
in interface TagWriteContext
public void evaluateTag(ExecutableTag tag)
TagExecutor
evaluateTag
in interface TagExecutor