Class PluginEvent<T>

java.lang.Object
ecmwf.common.plugin.PluginEvent<T>
Type Parameters:
T - the generic type
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ChangeHostEvent, DataTransferEvent, ProductStatusEvent, ResetProductEvent

public class PluginEvent<T> extends Object implements Serializable
The Class PluginEvent.
See Also:
  • Constructor Details

    • PluginEvent

      public PluginEvent(String name, T object)
      Instantiates a new plugin event.
      Parameters:
      name - the name
      object - the object
  • Method Details

    • getName

      public String getName()
      Gets the name.
      Returns:
      the name
    • getObject

      public T getObject()
      Gets the object.
      Returns:
      the object
    • setTarget

      public void setTarget(String target)
      Sets the target.
      Parameters:
      target - the new target
    • getTarget

      public String getTarget()
      Gets the target.
      Returns:
      the target
    • getCreationTime

      public long getCreationTime()
      Gets the creation time.
      Returns:
      the creation time
    • setSource

      public void setSource(String comment)
      Sets the source.
      Parameters:
      comment - the new source
    • getSource

      public String getSource()
      Gets the source.
      Returns:
      the source
    • toString

      public String toString()
      To string.
      Overrides:
      toString in class Object