Commit 1e82c28c authored by Björn Richerzhagen's avatar Björn Richerzhagen
Browse files

Added access to a typed Attribute to the Notification Interface

parent f112dbf0
......@@ -69,6 +69,15 @@ public interface Notification extends Transmitable {
*/
public List<Attribute<?>> getAttributes();
/**
* TYped access to a single attribute via the name.
*
* @param name
* @param valueType
* @return the attribute or null.
*/
public <T> Attribute<T> getAttribute(String name, Class<T> valueType);
/**
* The application-payload
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment