Package org.onosproject.net.resource
Class ResourceEvent
- java.lang.Object
-
- org.onosproject.event.AbstractEvent<ResourceEvent.Type,Resource>
-
- org.onosproject.net.resource.ResourceEvent
-
- All Implemented Interfaces:
Event<ResourceEvent.Type,Resource>
@Beta public final class ResourceEvent extends AbstractEvent<ResourceEvent.Type,Resource>
Describes an event related to a resource.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResourceEvent.Type
Type of resource events.
-
Constructor Summary
Constructors Constructor Description ResourceEvent(ResourceEvent.Type type, Resource subject)
Create a resource event.
-
Method Summary
-
Methods inherited from class org.onosproject.event.AbstractEvent
subject, time, toString, type
-
-
-
-
Constructor Detail
-
ResourceEvent
public ResourceEvent(ResourceEvent.Type type, Resource subject)
Create a resource event.- Parameters:
type
- type of resource eventsubject
- subject of resource event
-
-