RbUtils 0.13

org.ktc.rbutils.api.audit.event
Class ProcessEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.ktc.rbutils.api.audit.event.RbEvent
          extended by org.ktc.rbutils.api.audit.event.ProcessEvent
All Implemented Interfaces:
Serializable

public class ProcessEvent
extends RbEvent

Event that occur during the process of an audit in the RbUtils project.

Since:
RbUtils 0.9.3.3
Version:
$Revision$
Author:
moishi
See Also:
Serialized Form

Field Summary
protected  String detailledMessage
          Adds information to the Message of this Event.
protected  Message message
          Message contained by this Event.
protected  MessageType messagetype
          Type of Message that defined this Event.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ProcessEvent(Object source)
          Constructs a ProcessEvent.
ProcessEvent(Object source, MessageType messagetype, Message message, String detailledMessage)
          Constructs a ProcessEvent.
 
Method Summary
 String getDetailledMessage()
          Returns the detailled message of this Event.
 String getMessageDisplay()
          Returns the display form of the Message of this Event.
 String getMessageTypeDisplay()
          Returns the display form of the MessageType of this Event.
 
Methods inherited from class org.ktc.rbutils.api.audit.event.RbEvent
getEventDate
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

detailledMessage

protected String detailledMessage
Adds information to the Message of this Event.


message

protected Message message
Message contained by this Event.


messagetype

protected MessageType messagetype
Type of Message that defined this Event.

Constructor Detail

ProcessEvent

public ProcessEvent(Object source)
Constructs a ProcessEvent.

Parameters:
source - the object on which the Event initially occurred.
Throws:
IllegalArgumentException - if source is null.

ProcessEvent

public ProcessEvent(Object source,
                    MessageType messagetype,
                    Message message,
                    String detailledMessage)
Constructs a ProcessEvent.

Parameters:
source - the object on which the Event initially occurred.
messagetype - the type of the message.
message - the Message of this Event.
detailledMessage - an additionnal message.
Throws:
IllegalArgumentException - if source is null.
Method Detail

getMessageDisplay

public String getMessageDisplay()
Returns the display form of the Message of this Event.

Returns:
the display form of the Message of this Event.

getMessageTypeDisplay

public String getMessageTypeDisplay()
Returns the display form of the MessageType of this Event.

Returns:
the display form of the MessageType of this Event.

getDetailledMessage

public String getDetailledMessage()
Returns the detailled message of this Event.

Returns:
the detailled message of this Event.

Back to the RbUtils Home Page

Copyright © 2005-2009 RbUtils Project. All Rights Reserved.