net.sf.bloof.events
Class BloofEvent

java.lang.Object
  |
  +--net.sf.bloof.events.BloofEvent

public class BloofEvent
extends java.lang.Object

Version:
$Id: BloofEvent.java,v 1.3 2003/09/06 08:35:09 pekacki Exp $
Author:
Lukasz Pekacki

Field Summary
static BloofEvent CLOSED
           
static BloofEvent EXPORT_FINISHED
           
static BloofEvent IMPORTED
           
static BloofEvent METRIC_RUN_FINISHED
           
static BloofEvent OPENED
           
static java.lang.String PARAM_OBJECT
           
static int TYPE_EXPORT_FINISHED
           
static int TYPE_METRIC_RUN_FINISHED
           
static int TYPE_PROJECT_CLOSED
           
static int TYPE_PROJECT_IMPORTED
           
static int TYPE_PROJECT_OPENED
           
static int TYPE_UPDATE_FINISHED
           
static BloofEvent UPDATE_FINISHED
           
 
Constructor Summary
BloofEvent(BloofEvent aBrowserEventType, java.util.HashMap aParams)
          Default constructor for a Browser Event
BloofEvent(BloofEvent aBrowserEventType, java.lang.Object aKey, java.lang.Object aValue)
          Shortcut constructor for a Browser Event that only has a singe Object as parameter
 
Method Summary
 int getEventType()
          Returns the type of the Event
 java.util.HashMap getParams()
          Returns the parameters of this Event
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE_PROJECT_IMPORTED

public static final int TYPE_PROJECT_IMPORTED
See Also:
Constant Field Values

TYPE_PROJECT_CLOSED

public static final int TYPE_PROJECT_CLOSED
See Also:
Constant Field Values

TYPE_PROJECT_OPENED

public static final int TYPE_PROJECT_OPENED
See Also:
Constant Field Values

TYPE_METRIC_RUN_FINISHED

public static final int TYPE_METRIC_RUN_FINISHED
See Also:
Constant Field Values

TYPE_UPDATE_FINISHED

public static final int TYPE_UPDATE_FINISHED
See Also:
Constant Field Values

TYPE_EXPORT_FINISHED

public static final int TYPE_EXPORT_FINISHED
See Also:
Constant Field Values

IMPORTED

public static final BloofEvent IMPORTED

OPENED

public static final BloofEvent OPENED

CLOSED

public static final BloofEvent CLOSED

METRIC_RUN_FINISHED

public static final BloofEvent METRIC_RUN_FINISHED

EXPORT_FINISHED

public static final BloofEvent EXPORT_FINISHED

UPDATE_FINISHED

public static final BloofEvent UPDATE_FINISHED

PARAM_OBJECT

public static final java.lang.String PARAM_OBJECT
See Also:
Constant Field Values
Constructor Detail

BloofEvent

public BloofEvent(BloofEvent aBrowserEventType,
                  java.util.HashMap aParams)
Default constructor for a Browser Event

Parameters:
aBrowserEventType - Type of the Event
aParams - Parameters for the Event
These parameters can be accessed via the PARAM_-Fields

BloofEvent

public BloofEvent(BloofEvent aBrowserEventType,
                  java.lang.Object aKey,
                  java.lang.Object aValue)
Shortcut constructor for a Browser Event that only has a singe Object as parameter

Parameters:
aBrowserEventType - Type of the Event
aKey - PARAM_-Type of the parameter
aValue - Value of the parameter
Method Detail

getEventType

public int getEventType()
Returns the type of the Event

Returns:
type of the Event

getParams

public java.util.HashMap getParams()
Returns the parameters of this Event

Returns:
parameters of this Event

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Copyright © 2003 bloof@Sourceforge. All Rights Reserved.