public class DisabledTag extends AbstractGatewayTag
RUNTIME_PROPERTIES, tagChangeListener
Constructor and Description |
---|
DisabledTag() |
Modifier and Type | Method and Description |
---|---|
void |
configure(Tag def) |
void |
evaluate()
Evaluates the tag for any outstanding changes.
|
void |
evaluateHistory(TagEvaluationContext context) |
AccessRightsType |
getAccessRights()
Gets the type of access rights for this tag
|
AlarmConfiguration |
getAlarmStates()
Returns the list of alarm states for this tag
|
TagValue |
getAttribute(TagProp prop)
Subclasses can override this to provide more efficient or complete implementations.
|
DataType |
getDataType()
Returns the datatype of this tag's value property
|
TagExecutor |
getExecutor() |
TagPermissionsModel |
getPermissionModel()
Returns this tags permission model, if any
|
protected org.apache.log4j.Logger |
getTagLogger() |
TagType |
getType()
Returns the type of this tag.
|
TagValue |
getValue()
Returns the value in qualified form- along with quality and timestamp.
|
void |
initialize(TagInitializationContext context)
ExecutableTag
|
boolean |
isAlarmingSupported()
Returns true if this tag supports alarming, false otherwise
|
boolean |
isEnabled()
Returns the enabled bit for this tag
|
boolean |
isEvaluated() |
boolean |
isWritable()
Returns whether or not a tag can be written to.
|
void |
resetEvaluation() |
void |
sampleDiagnostics(DiagnosticsSample sample)
Provides the sample upon which the object can set diagnostics information.
|
void |
setExecutor(TagExecutor value) |
boolean |
supportsCurrentValueUpdate()
Returns whether the current value can be set directly.
|
void |
unInitialize(TagUninitializeContext context) |
void |
updateCurrentValue(TagValue value)
Updates the current value, if supportsCurrentValueUpdate is true.
|
void |
write(TagWriteContext context,
AsyncWriteRequest<TagPath> value)
This function can be called at any time to write a value to the tag.
|
compareTo, createTagChangeEvent, fireChangeEvent, fireChangeEvent, getConfigProvider, getEntityId, getEventScripts, getName, getTagChangeListener, getTagPath, setConfigProvider, setEntityId, setTagChangeListener, setTagChangeListener, setTagPath
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setAttribute
protected org.apache.log4j.Logger getTagLogger()
getTagLogger
in class AbstractGatewayTag
public void configure(Tag def)
configure
in class AbstractGatewayTag
public TagValue getAttribute(TagProp prop)
AbstractGatewayTag
getAttribute
in interface Tag
getAttribute
in class AbstractGatewayTag
public void initialize(TagInitializationContext context)
ExecutableTag
public void unInitialize(TagUninitializeContext context)
public void setExecutor(TagExecutor value)
setExecutor
in interface ExecutableTag
setExecutor
in class AbstractGatewayTag
public TagExecutor getExecutor()
getExecutor
in interface ExecutableTag
getExecutor
in class AbstractGatewayTag
public boolean isEvaluated()
public void resetEvaluation()
public void evaluate()
ExecutableTag
public void evaluateHistory(TagEvaluationContext context)
public boolean isWritable()
ExecutableTag
public boolean supportsCurrentValueUpdate()
ExecutableTag
public void updateCurrentValue(TagValue value)
ExecutableTag
public void write(TagWriteContext context, AsyncWriteRequest<TagPath> value)
ExecutableTag
value
- WriteValue to be used. The function can set the write value response right away to indicate the write
has be completed, or it can process it and pass it on to the context or some other function.public void sampleDiagnostics(DiagnosticsSample sample)
Diagnosable
public TagType getType()
Tag
public DataType getDataType()
Tag
public boolean isEnabled()
Tag
public TagValue getValue()
Tag
public AccessRightsType getAccessRights()
Tag
public TagPermissionsModel getPermissionModel()
Tag
public AlarmConfiguration getAlarmStates()
Tag
getAlarmStates
in interface Tag
getAlarmStates
in class AbstractGatewayTag
public boolean isAlarmingSupported()
Tag