Class Event<C>

java.lang.Object
org.gcube.smartgears.handlers.Event<C>
Type Parameters:
C - the context type
Direct Known Subclasses:
ApplicationEvent, ContainerLifecycleEvent

public abstract class Event<C> extends Object
An event related to a given context.
Author:
Fabio Simeoni
  • Constructor Details

    • Event

      public Event(C context)
      Creates an instance with the context of the container.
      Parameters:
      context - the context
  • Method Details

    • context

      public C context()
      Returns the context of the container.
      Returns:
      the context
    • toString

      public String toString()
      Overrides:
      toString in class Object