public class GatewayFolderTag extends FolderTag implements ExecutableTag
accessRights, attributes, enabled, eventScripts, name, permissionModel
Constructor and Description |
---|
GatewayFolderTag(java.lang.String name) |
GatewayFolderTag(TagPath path,
EntityId id,
TagType type) |
Modifier and Type | Method and Description |
---|---|
void |
evaluate()
Evaluates the tag for any outstanding changes.
|
void |
evaluateHistory(TagEvaluationContext context) |
TagConfigProvider |
getConfigProvider() |
EntityId |
getEntityId() |
TagExecutor |
getExecutor() |
TagChangeListener |
getTagChangeListener()
Returns the current listener - used for transferring listeners when swapping out tags.
|
TagPath |
getTagPath()
Returns the path of the tag, mainly used for error reporting purposes.
|
TagType |
getType()
Returns the type of this tag.
|
void |
initialize(TagInitializationContext context)
ExecutableTag
|
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 |
setConfigProvider(TagConfigProvider value) |
void |
setExecutor(TagExecutor value) |
void |
setTagChangeListener(TagChangeListener listener)
This is the original definition, calls setTagChangeListener with fireEvent = true
|
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.
|
addChild, getAlarmStates, getChildren, getEventScripts, getValue, removeChild, setAlarmStates, setAlarmStates, setEventScripts
coerceValue, compareTo, getAccessRights, getAttribute, getChild, getDataType, getName, getPermissionModel, getRawAttributes, isAlarmingSupported, isEnabled, isValidName, main, sanitizeName, setAccessRights, setAttribute, setDataType, setEnabled, setName, setPermissionModel, setRawAttributes, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setAttribute
setTagChangeListener
getAccessRights, getAlarmStates, getAttribute, getDataType, getEventScripts, getName, getPermissionModel, getValue, isAlarmingSupported, isEnabled
public TagType getType()
Tag
public void setTagChangeListener(TagChangeListener listener)
GatewayTag
setTagChangeListener
in interface GatewayTag
public TagChangeListener getTagChangeListener()
GatewayTag
getTagChangeListener
in interface GatewayTag
public TagPath getTagPath()
GatewayTag
getTagPath
in interface GatewayTag
public EntityId getEntityId()
getEntityId
in interface ExecutableTag
public void initialize(TagInitializationContext context)
ExecutableTag
initialize
in interface ExecutableTag
public void unInitialize(TagUninitializeContext context)
unInitialize
in interface ExecutableTag
public void setExecutor(TagExecutor value)
setExecutor
in interface ExecutableTag
public void setConfigProvider(TagConfigProvider value)
setConfigProvider
in interface ExecutableTag
public TagConfigProvider getConfigProvider()
getConfigProvider
in interface ExecutableTag
public TagExecutor getExecutor()
getExecutor
in interface ExecutableTag
public boolean isEvaluated()
isEvaluated
in interface ExecutableTag
public void resetEvaluation()
resetEvaluation
in interface ExecutableTag
public void evaluate()
ExecutableTag
evaluate
in interface ExecutableTag
public void evaluateHistory(TagEvaluationContext context)
evaluateHistory
in interface ExecutableTag
public boolean isWritable()
ExecutableTag
isWritable
in interface ExecutableTag
public boolean supportsCurrentValueUpdate()
ExecutableTag
supportsCurrentValueUpdate
in interface ExecutableTag
public void updateCurrentValue(TagValue value)
ExecutableTag
updateCurrentValue
in interface ExecutableTag
public void write(TagWriteContext context, AsyncWriteRequest<TagPath> value)
ExecutableTag
write
in interface 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
sampleDiagnostics
in interface Diagnosable