
com.bytex.snamp.gateway.groovy.AttributeValueHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of groovy Show documentation
Show all versions of groovy Show documentation
Groovy-based scripting engine for writing custom gateways
The newest version!
package com.bytex.snamp.gateway.groovy;
import javax.management.MBeanAttributeInfo;
/**
* Represents attribute processor in functional style.
* @author Roman Sakno
* @version 2.0
* @since 1.0
*/
public interface AttributeValueHandler {
void handle(final String resourceName,
final MBeanAttributeInfo metadata,
final I attributeValue) throws E;
static AttributeValueHandler empty() {
return (resourceName, metadata, attributeValue) -> {
};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy