org.openbp.cockpit.plugins.debugger
Class DebuggerServerEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.openbp.jaspira.event.JaspiraEvent
          extended by org.openbp.cockpit.plugins.debugger.DebuggerServerEvent
All Implemented Interfaces:
java.io.Serializable

public class DebuggerServerEvent
extends JaspiraEvent

Client event that wraps a debugger server event. The event information is contained in the server event class DebuggerEvent
The event name is the same as defined in the the EngineTraceEvent class.

Author:
Stephan Moritz
See Also:
Serialized Form

Field Summary
static java.lang.String BASE
          Basename for events
 
Fields inherited from class org.openbp.jaspira.event.JaspiraEvent
CONSUMED, HANDELED, STACKABLE, TYPE_BOTTOM_UP, TYPE_DIRECT, TYPE_FLOOD, TYPE_GLOBAL, UNCONSUMABLE
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DebuggerServerEvent(Plugin source, DebuggerEvent debuggerEvent)
          Constructor.
 
Method Summary
 ModelQualifier getControlLinkQualifier()
          Gets the executed data link.
 ModelQualifier getDataLinkQualifier()
          Gets the executed control link.
 DebuggerEvent getDebuggerEvent()
          Gets the underlying debugger event.
 java.lang.String getEventType()
          Gets the event type.
 java.lang.Throwable getException()
          Gets the exception that has occurred.
 java.lang.String getExceptionString()
          Gets the string representation of the exception that has occurred.
 ModelQualifier getHaltedPosition()
          Gets the current position of halted process.
 java.lang.Object getParamValue()
          Gets the param value.
 java.lang.String getParamValueString()
          Gets the param value as string.
 java.lang.String getSourceMemberPath()
          Gets the source parameter member path.
 ModelQualifier getSourceParamName()
          Gets the source parameter.
 ModelQualifier getSourceSocketQualifier()
          Gets the source node socket.
 java.lang.String getTargetMemberPath()
          Gets the target parameter member path.
 ModelQualifier getTargetParamName()
          Gets the target parameter.
 ModelQualifier getTargetSocketQualifier()
          Gets the target node socket.
 
Methods inherited from class org.openbp.jaspira.event.JaspiraEvent
brand, getBrand, getEventGroup, getEventName, getFlags, getLevel, getObject, getOriginalEvent, getSourcePlugin, getTargetClassName, getTargetPluginId, getType, isConsumed, isStackable, isUnconsumable, setObject, setTargetClassName, setTargetPluginId, toString, updateFlags, updateFlags
 
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

BASE

public static final java.lang.String BASE
Basename for events

See Also:
Constant Field Values
Constructor Detail

DebuggerServerEvent

public DebuggerServerEvent(Plugin source,
                           DebuggerEvent debuggerEvent)
Constructor.

Parameters:
source - Source plugin
debuggerEvent - Debugger event from the server that initiated this event
Method Detail

getDebuggerEvent

public DebuggerEvent getDebuggerEvent()
Gets the underlying debugger event.


getEventType

public java.lang.String getEventType()
Gets the event type.

Returns:
The event type class)

getHaltedPosition

public ModelQualifier getHaltedPosition()
Gets the current position of halted process.


getException

public java.lang.Throwable getException()
Gets the exception that has occurred.


getControlLinkQualifier

public ModelQualifier getControlLinkQualifier()
Gets the executed data link.


getDataLinkQualifier

public ModelQualifier getDataLinkQualifier()
Gets the executed control link.


getSourceSocketQualifier

public ModelQualifier getSourceSocketQualifier()
Gets the source node socket.


getTargetSocketQualifier

public ModelQualifier getTargetSocketQualifier()
Gets the target node socket.


getSourceParamName

public ModelQualifier getSourceParamName()
Gets the source parameter.


getSourceMemberPath

public java.lang.String getSourceMemberPath()
Gets the source parameter member path.


getTargetParamName

public ModelQualifier getTargetParamName()
Gets the target parameter.


getTargetMemberPath

public java.lang.String getTargetMemberPath()
Gets the target parameter member path.


getParamValue

public java.lang.Object getParamValue()
Gets the param value.


getExceptionString

public java.lang.String getExceptionString()
Gets the string representation of the exception that has occurred. This method is used if the thorwable is not able to be transfered with RMI.


getParamValueString

public java.lang.String getParamValueString()
Gets the param value as string.



Copyright © 2011. All Rights Reserved.