public class ScriptMonitor extends AbstractPersistentStateMonitor
| Modifier and Type | Class and Description |
|---|---|
class |
ScriptMonitor.InjectMasterHandler |
monitorListeners| Constructor and Description |
|---|
ScriptMonitor(String id,
String factoryId,
Executor executor,
org.osgi.framework.BundleContext context,
com.google.common.collect.Interner<String> stringInterner,
EventProcessor eventProcessor,
ObjectPoolTracker<DataSource> dataSourcePoolTracker,
ObjectPoolTracker<MasterItem> masterItemPoolTracker,
org.osgi.util.tracker.ServiceTracker<ConfigurationAdministrator,ConfigurationAdministrator> caTracker) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyPersistentInformation(PersistentInformation persistentInformation) |
DataItemValue |
dataUpdate(Map<String,Object> context,
DataItemValue.Builder builder) |
void |
dispose() |
protected void |
evaluate(Map<String,DataItemValue> values) |
protected void |
handleChange(Map<String,DataSourceHandler> sources) |
protected void |
notifyStateChange(MonitorStatusInformation state) |
protected void |
setFailure(Variant value,
Long valueTimestamp,
Severity severity,
boolean requireAck) |
void |
update(UserInformation userInformation,
Map<String,String> properties) |
nodeChanged, setDataStore, storePersistentInformationakn, buildMonitorAttributes, createEvent, getCurrentState, injectEventAttributes, isSuppressEvents, sendEvent, sendEvent, sendEvent, setAttributes, setFailure, setInactive, setOk, setState, setStringAttributes, setSuppressEvents, setUnsafe, triggerFailureaddStatusListener, getId, intern, removeStatusListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddStatusListener, akn, getId, removeStatusListenerpublic ScriptMonitor(String id, String factoryId, Executor executor, org.osgi.framework.BundleContext context, com.google.common.collect.Interner<String> stringInterner, EventProcessor eventProcessor, ObjectPoolTracker<DataSource> dataSourcePoolTracker, ObjectPoolTracker<MasterItem> masterItemPoolTracker, org.osgi.util.tracker.ServiceTracker<ConfigurationAdministrator,ConfigurationAdministrator> caTracker)
public void dispose()
dispose in interface DataItemMonitordispose in class AbstractPersistentStateMonitorprotected void notifyStateChange(MonitorStatusInformation state)
notifyStateChange in class AbstractMonitorServiceprotected void applyPersistentInformation(PersistentInformation persistentInformation)
applyPersistentInformation in class AbstractStateMonitorpublic void update(UserInformation userInformation, Map<String,String> properties) throws Exception
Exceptionpublic DataItemValue dataUpdate(Map<String,Object> context, DataItemValue.Builder builder)
protected void handleChange(Map<String,DataSourceHandler> sources)
protected void evaluate(Map<String,DataItemValue> values)
protected void setFailure(Variant value, Long valueTimestamp, Severity severity, boolean requireAck)
setFailure in class AbstractStateMonitorCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.