public class DerivedTag extends AbstractExecutableTag implements TagChangeListener
Modifier and Type | Class and Description |
---|---|
protected class |
DerivedTag.Executor |
AbstractExecutableTag.AlarmConfigHarness, AbstractExecutableTag.ArrayAlarmEvaluator, AbstractExecutableTag.ArrayEvaluator<T>, AbstractExecutableTag.ArrayHistorizer, AbstractExecutableTag.CustomPermissions, AbstractExecutableTag.ExecTagHistoryEvaluator, AbstractExecutableTag.Historizer, AbstractExecutableTag.InternalTagScriptEvaluator, AbstractExecutableTag.ModifiedValueAsyncWriteRequest<T>, AbstractExecutableTag.ReadOnlyPermissions, AbstractExecutableTag.RWPermissions, AbstractExecutableTag.ScriptConfigHarness, AbstractExecutableTag.TagHistoryHarness, AbstractExecutableTag.TagPermissions
TagPropertyValue.HashKey
alarmEval, deadband, historizer, permissions, scaler, TAG_HISTORY_LOGGER
RUNTIME_PROPERTIES, tagChangeListener
Constructor and Description |
---|
DerivedTag() |
Modifier and Type | Method and Description |
---|---|
void |
configure(Tag def)
Provides the tag with it's configuration so that it can set up anything it needs.
|
TagProp |
getTagProperty()
The TagProp that this listener cares about.
|
TagType |
getType()
Returns the type of this tag.
|
void |
initialize(TagInitializationContext context)
ExecutableTag
|
protected void |
internalPropertyWrite(AsyncWriteRequest<TagPath> value) |
protected void |
internalUninitialize(TagUninitializeContext context) |
protected void |
internalWrite(TagWriteContext context,
AsyncWriteRequest<TagPath> value)
Passes value to subclass for evaluation, if supported.
|
boolean |
isWritable()
Returns whether or not a tag can be written to.
|
protected void |
processIncomingTagValue(TagValue v) |
void |
sampleDiagnostics(DiagnosticsSample sample)
Provides the sample upon which the object can set diagnostics information.
|
void |
tagChanged(TagChangeEvent e)
Invoked when the tag has changed
|
protected void |
updatePath(java.lang.String path) |
alarmTransitioned, coerceAndCheck, evaluate, evaluateAlerts, evaluateHistory, fireEvent, getAccessRights, getAttribute, getContext, getDataType, getDataTypeClass, getHistoryPaths, getId, getName, getPermissionModel, getProperty, getRuntimeProperty, getScaler, getValue, hasHintConfig, hasHintPersistent, internalEvaluate, internalUpdateCurrentValue, isAlarmingSupported, isEnabled, isEvaluated, isInitialized, resetEvaluation, setAttribute, setCurrentValue, setDataType, setIsEvaluated, setTagError, setValue, supportsCurrentValueUpdate, unInitialize, updateCurrentValue, updateRuntimeAlertProperties, updateRuntimePropertyValue, updateRuntimeQuality, write
compareTo, createTagChangeEvent, fireChangeEvent, fireChangeEvent, getAlarmStates, getConfigProvider, getEntityId, getEventScripts, getExecutor, getTagChangeListener, getTagLogger, getTagPath, setConfigProvider, setEntityId, setExecutor, setTagChangeListener, setTagChangeListener, setTagPath
public void configure(Tag def)
AbstractExecutableTag
configure
in class AbstractExecutableTag
public TagType getType()
Tag
public void initialize(TagInitializationContext context)
ExecutableTag
initialize
in interface ExecutableTag
initialize
in class AbstractExecutableTag
protected void internalUninitialize(TagUninitializeContext context)
internalUninitialize
in class AbstractExecutableTag
protected void updatePath(java.lang.String path)
protected void internalWrite(TagWriteContext context, AsyncWriteRequest<TagPath> value)
AbstractExecutableTag
internalWrite
in class AbstractExecutableTag
protected void internalPropertyWrite(AsyncWriteRequest<TagPath> value)
internalPropertyWrite
in class AbstractExecutableTag
public boolean isWritable()
ExecutableTag
isWritable
in interface ExecutableTag
isWritable
in class AbstractExecutableTag
public void tagChanged(TagChangeEvent e)
TagChangeListener
tagChanged
in interface TagChangeListener
e
- a ChangeEvent objectprotected void processIncomingTagValue(TagValue v)
public TagProp getTagProperty()
TagChangeListener
getTagProperty
in interface TagChangeListener
public void sampleDiagnostics(DiagnosticsSample sample)
Diagnosable
sampleDiagnostics
in interface Diagnosable
sampleDiagnostics
in class AbstractExecutableTag