public class

JebEvent

extends Object
implements IEvent
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.events.JebEvent

Class Overview

The standard JEB engines implementation of the IEvent interface. Plugins should use this class.

Summary

Fields
public static final AtomicInteger ccnt
Public Constructors
JebEvent(J type)
Create an event without attached data and a default source.
JebEvent(J type, Object data)
Create an event with a default event source.
JebEvent(J type, Object data, IEventSource source)
Create an event.
Public Methods
boolean equals(Object obj)
Object getData()
IEventSource getSource()
long getTimestamp()
J getType()
int hashCode()
void setStopPropagation(boolean stopPropagation)
boolean shouldStopPropagation()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.pnfsoftware.jeb.util.events.IEvent

Fields

public static final AtomicInteger ccnt

Public Constructors

public JebEvent (J type)

Create an event without attached data and a default source.

Parameters
type event type

public JebEvent (J type, Object data)

Create an event with a default event source.

Parameters
type event type
data event data

public JebEvent (J type, Object data, IEventSource source)

Create an event.

Parameters
type event type
data event data
source event source

Public Methods

public boolean equals (Object obj)

public Object getData ()

public IEventSource getSource ()

public long getTimestamp ()

public J getType ()

public int hashCode ()

public void setStopPropagation (boolean stopPropagation)

public boolean shouldStopPropagation ()

public String toString ()