public class NegateHandlerImpl extends AbstractCommonHandlerImpl
AbstractCommonHandlerImpl.AbstractConfiguration
eventAttributes
Constructor and Description |
---|
NegateHandlerImpl(String configurationId,
ObjectPoolTracker<MasterItem> poolTracker,
int priority,
org.osgi.util.tracker.ServiceTracker<ConfigurationAdministrator,ConfigurationAdministrator> caTracker) |
Modifier and Type | Method and Description |
---|---|
protected WriteAttributeResults |
handleUpdate(Map<String,Variant> attributes,
OperationParameters operationParameters)
This method will be called on write request that have attributes which
match our prefix.
|
protected void |
injectAttributes(DataItemValue.Builder builder) |
protected void |
processDataUpdate(Map<String,Object> context,
DataItemValue.Builder builder) |
void |
update(UserInformation userInformation,
Map<String,String> parameters) |
createEventBuilder, dataUpdate, injectEventAttributes
getPrefixed, processWrite, updateConfiguration, updateConfiguration
addItem, createTrackers, dispose, getMasterItems, removeItem, reprocess
public NegateHandlerImpl(String configurationId, ObjectPoolTracker<MasterItem> poolTracker, int priority, org.osgi.util.tracker.ServiceTracker<ConfigurationAdministrator,ConfigurationAdministrator> caTracker)
protected void processDataUpdate(Map<String,Object> context, DataItemValue.Builder builder) throws Exception
processDataUpdate
in class AbstractCommonHandlerImpl
Exception
public void update(UserInformation userInformation, Map<String,String> parameters) throws Exception
update
in class AbstractMasterHandlerImpl
Exception
protected void injectAttributes(DataItemValue.Builder builder)
protected WriteAttributeResults handleUpdate(Map<String,Variant> attributes, OperationParameters operationParameters) throws Exception
AbstractConfigurableMasterHandlerImpl
All attributes that are processed must be returned in the result
handleUpdate
in class AbstractConfigurableMasterHandlerImpl
attributes
- the filtered attributes that match our prefixException
- if anything goes wrongCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.