Package org.onosproject.net
Interface MutableAnnotations
-
- All Superinterfaces:
Annotations
- All Known Subinterfaces:
DriverData
- All Known Implementing Classes:
AbstractProjectableModel.AnnotationDriverData
,DefaultDevice.DeviceDriverData
,DefaultDriverData
public interface MutableAnnotations extends Annotations
Represents an mutable set of simple key/value string annotations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MutableAnnotations
clear(java.lang.String... keys)
Clears the specified keys or the all keys if none were specified.MutableAnnotations
set(java.lang.String key, java.lang.String value)
Returns the value of the specified annotation.-
Methods inherited from interface org.onosproject.net.Annotations
keys, value
-
-
-
-
Method Detail
-
set
MutableAnnotations set(java.lang.String key, java.lang.String value)
Returns the value of the specified annotation.- Parameters:
key
- annotation keyvalue
- annotation value- Returns:
- self
-
clear
MutableAnnotations clear(java.lang.String... keys)
Clears the specified keys or the all keys if none were specified.- Parameters:
keys
- keys to be cleared- Returns:
- self
-
-