public class ArchiveEventTrigger extends Object implements IEventTrigger
EventType.ARCHIVE_EVENT| Constructor and Description |
|---|
ArchiveEventTrigger(long period,
String absolute,
String relative,
AttributeImpl attribute)
Ctr
|
| Modifier and Type | Method and Description |
|---|---|
static void |
checkEventCriteria(AttributeImpl attribute)
Check if event criteria are set for specified attribute
|
boolean |
doCheck() |
boolean |
isSendEvent() |
void |
setError(fr.esrf.Tango.DevFailed error)
Notify the trigger of the last error occured
|
void |
updateProperties()
Update event properties
|
public ArchiveEventTrigger(long period,
String absolute,
String relative,
AttributeImpl attribute)
period - The archive periodabsolute - The archive absolute change deltarelative - The archive relative change deltaattribute - The attribute that send eventspublic boolean isSendEvent()
throws fr.esrf.Tango.DevFailed
isSendEvent in interface IEventTriggerfr.esrf.Tango.DevFailedpublic void setError(fr.esrf.Tango.DevFailed error)
IEventTriggersetError in interface IEventTriggerpublic static void checkEventCriteria(AttributeImpl attribute) throws fr.esrf.Tango.DevFailed
attribute - the specified attributefr.esrf.Tango.DevFailed - if no event criteria is set for specified attribute.public void updateProperties()
throws fr.esrf.Tango.DevFailed
IEventTriggerupdateProperties in interface IEventTriggerfr.esrf.Tango.DevFailedpublic boolean doCheck()
doCheck in interface IEventTriggerCopyright © 2012–2017 Tango Controls. All rights reserved.