Package org.onosproject.app
Class ApplicationEvent
- java.lang.Object
-
- org.onosproject.event.AbstractEvent<ApplicationEvent.Type,Application>
-
- org.onosproject.app.ApplicationEvent
-
- All Implemented Interfaces:
Event<ApplicationEvent.Type,Application>
public class ApplicationEvent extends AbstractEvent<ApplicationEvent.Type,Application>
Describes application lifecycle event.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ApplicationEvent.Type
-
Constructor Summary
Constructors Constructor Description ApplicationEvent(ApplicationEvent.Type type, Application app)
Creates an event of a given type and for the specified app and the current time.ApplicationEvent(ApplicationEvent.Type type, Application app, long time)
Creates an event of a given type and for the specified app and time.
-
Method Summary
-
Methods inherited from class org.onosproject.event.AbstractEvent
subject, time, toString, type
-
-
-
-
Constructor Detail
-
ApplicationEvent
public ApplicationEvent(ApplicationEvent.Type type, Application app)
Creates an event of a given type and for the specified app and the current time.- Parameters:
type
- app event typeapp
- event app subject
-
ApplicationEvent
public ApplicationEvent(ApplicationEvent.Type type, Application app, long time)
Creates an event of a given type and for the specified app and time.- Parameters:
type
- app event typeapp
- event app subjecttime
- occurrence time
-
-