com.ecyrd.jspwiki.event
Class WikiEngineEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.ecyrd.jspwiki.event.WikiEvent
          extended by com.ecyrd.jspwiki.event.WikiEngineEvent
All Implemented Interfaces:
Serializable

public class WikiEngineEvent
extends WikiEvent

Event class for wiki engine events.

Since:
2.4.14
Version:
$Revision: 1.1 $ $Date: 2006/06/17 23:13:35 $
Author:
Andrew Jaquith
See Also:
Serialized Form

Field Summary
static int SHUTDOWN
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
WikiEngineEvent(Object source, int type)
          Constructs a wiki engine event of a specified type.
 
Method Summary
protected static String eventName(int type)
          Returns a textual representation of an event type.
 String toString()
          Prints a String (human-readable) representation of this object.
 
Methods inherited from class com.ecyrd.jspwiki.event.WikiEvent
getType
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SHUTDOWN

public static final int SHUTDOWN
See Also:
Constant Field Values
Constructor Detail

WikiEngineEvent

public WikiEngineEvent(Object source,
                       int type)
Constructs a wiki engine event of a specified type.

Parameters:
source - the wiki engine that produced the event
type - the type of the event
Method Detail

toString

public final String toString()
Prints a String (human-readable) representation of this object.

Overrides:
toString in class EventObject
See Also:
Object.toString()

eventName

protected static final String eventName(int type)
Returns a textual representation of an event type.

Parameters:
type - the type
Returns:
the string representation