de.cesr.lara.components.preprocessor.event
Class LAbstractPpEvent

java.lang.Object
  extended by de.cesr.lara.components.preprocessor.event.LAbstractPpEvent
All Implemented Interfaces:
LaraEvent, LaraSynchronousEvent, LaraPpEvent
Direct Known Subclasses:
LPpBoCollectorEvent, LPpBoPreselectorEvent, LPpBoUtilityUpdaterEvent, LPpModeSelectorEvent, LPpPreferenceUpdaterEvent, LPpUnsubscribeEvent

public abstract class LAbstractPpEvent
extends Object
implements LaraPpEvent, LaraSynchronousEvent

Abstract class that provides basic methods for LaraPpEvents.


Field Summary
protected  LaraAgent<?,?> agent
           
protected  LaraDecisionConfiguration dConfig
           
 
Constructor Summary
LAbstractPpEvent(LaraAgent<?,?> agent, LaraDecisionConfiguration dConfig)
           
 
Method Summary
 LaraAgent<?,?> getAgent()
          Returns the agent that is currently processed and whose event bus triggers this even.
 LaraDecisionConfiguration getdConfig()
          Provides the LaraDecisionConfiguration that is currently processed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dConfig

protected LaraDecisionConfiguration dConfig

agent

protected LaraAgent<?,?> agent
Constructor Detail

LAbstractPpEvent

public LAbstractPpEvent(LaraAgent<?,?> agent,
                        LaraDecisionConfiguration dConfig)
Parameters:
dConfig -
agent -
Method Detail

getAgent

public LaraAgent<?,?> getAgent()
Description copied from interface: LaraPpEvent
Returns the agent that is currently processed and whose event bus triggers this even.

Specified by:
getAgent in interface LaraPpEvent
Returns:
the agent that is currently processed
See Also:
LaraPpEvent.getAgent()

getdConfig

public LaraDecisionConfiguration getdConfig()
Description copied from interface: LaraPpEvent
Provides the LaraDecisionConfiguration that is currently processed.

Specified by:
getdConfig in interface LaraPpEvent
Returns:
current decision configuration
See Also:
LaraPpEvent.getdConfig()