org.ceryle.wiki.plugin.assertion
Class AssertionEvent
java.lang.Object
java.util.EventObject
com.ecyrd.jspwiki.event.WikiEvent
org.ceryle.wiki.plugin.assertion.AssertionEvent
- All Implemented Interfaces:
- Serializable
public class AssertionEvent
- extends WikiEvent
AssertionEvent indicates an encounter (the parsing of) with an AssertionPlugin.
- Since:
- 2.3.92
- Version:
- $Id: AssertionEvent.java,v 1.2 2007-06-15 12:10:13 altheim Exp $
- Author:
- Murray Altheim
- See Also:
WikiEvent,
Serialized Form
|
Field Summary |
static int |
ASSERTION
The event type for an AssertionEvent. |
ASSERTION
public static final int ASSERTION
- The event type for an AssertionEvent.
- See Also:
- Constant Field Values
AssertionEvent
public AssertionEvent(Object source,
Assertion assertion)
- Constructs an instance of this event.
- Parameters:
source - the Object that is the source of the event, usually an AssertionPluginassertion - the Assertion object created from the page-based markup
getAssertion
public Assertion getAssertion()
- Returns the Assertion associated with this event.
- Returns:
- the Assertion associated with this AssertionEvent.
getPageName
public String getPageName()
- Returns the Wiki page name associated with this event.
This is a convenience method.
- Returns:
- the Wiki page name associated with this AssertionEvent.
getTypeDescription
public String getTypeDescription()
- Returns a human-readable description of this event's type.
- Overrides:
getTypeDescription in class WikiEvent
The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.