com.objectplanet.survey.plugin.event
Class PluginBusEvent

java.lang.Object
  extended by com.objectplanet.survey.plugin.event.PluginBusEvent
Direct Known Subclasses:
AdminEvent, PluginBusEvent.NonVetoable, SurveyEvent

Deprecated.

public abstract class PluginBusEvent
extends java.lang.Object

The base class of all PluginBus events. This class is deprecated. Use the new event mechanism in the com.objectplanet.survey.event and com.objectplanet.survey.event.events package.

Author:
Torgeir Punnerud

Nested Class Summary
static class PluginBusEvent.NonVetoable
          Deprecated. An event implementation that cannot be vetoed.
 
Constructor Summary
PluginBusEvent(IPBComponent source)
          Deprecated. Creates a new event.
 
Method Summary
 IPBComponent getSource()
          Deprecated. Returns the sender of this event.
 boolean isVetoed()
          Deprecated. Returns if this event has been vetoed by another bus component.
 java.lang.String paramString()
          Deprecated. Returns a string representation of this event's parameters.
 java.lang.String toString()
          Deprecated. Returns a string representation of this event.
 void veto()
          Deprecated. Vetoes this event.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PluginBusEvent

public PluginBusEvent(IPBComponent source)
Deprecated. 
Creates a new event.

Parameters:
source - The event source
Method Detail

getSource

public IPBComponent getSource()
Deprecated. 
Returns the sender of this event.


veto

public void veto()
Deprecated. 
Vetoes this event. It will not be passed on further on the bus, and instead will be returned directly to the sender with the vetoed flag on.


isVetoed

public boolean isVetoed()
Deprecated. 
Returns if this event has been vetoed by another bus component.


toString

public java.lang.String toString()
Deprecated. 
Returns a string representation of this event.

Overrides:
toString in class java.lang.Object

paramString

public java.lang.String paramString()
Deprecated. 
Returns a string representation of this event's parameters.


Copyright ? ObjectPlanet Inc. All Rights Reserved.

Built on December 20 2016