Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simonstrator
API
Commits
1e82c28c
Commit
1e82c28c
authored
Nov 24, 2015
by
Björn Richerzhagen
Browse files
Added access to a typed Attribute to the Notification Interface
parent
f112dbf0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/de/tudarmstadt/maki/simonstrator/api/component/pubsub/Notification.java
View file @
1e82c28c
...
...
@@ -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
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment