Package org.onosproject.cfg
Class ComponentConfigEvent
- java.lang.Object
-
- org.onosproject.event.AbstractEvent<ComponentConfigEvent.Type,String>
-
- org.onosproject.cfg.ComponentConfigEvent
-
- All Implemented Interfaces:
Event<ComponentConfigEvent.Type,String>
public class ComponentConfigEvent extends AbstractEvent<ComponentConfigEvent.Type,String>
Describes a component configuration event.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ComponentConfigEvent.Type
-
Constructor Summary
Constructors Constructor Description ComponentConfigEvent(ComponentConfigEvent.Type type, String componentName, String name, String value)
Creates an event of a given type and for the specified app and the current time.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
name()
Returns the property name.String
value()
Returns the property value as a string.-
Methods inherited from class org.onosproject.event.AbstractEvent
subject, time, toString, type
-
-
-
-
Constructor Detail
-
ComponentConfigEvent
public ComponentConfigEvent(ComponentConfigEvent.Type type, String componentName, String name, String value)
Creates an event of a given type and for the specified app and the current time.- Parameters:
type
- config property event typecomponentName
- component name event subjectname
- config property namevalue
- config property value
-
-