public abstract class RemoteChangeListenerHandler extends Object
Modifier and Type | Field and Description |
---|---|
static String |
EVENT_ADDED
The event type suffix for added events.
|
static String |
EVENT_BULK
The event type for bulk events.
|
static String |
EVENT_CHANGED
The event type suffix for changed events.
|
static String |
EVENT_OCCURRED
The event type suffix for occurred events.
|
static String |
EVENT_REMOVED
The event type suffix for removed events.
|
Constructor and Description |
---|
RemoteChangeListenerHandler(String id,
IInternalAccess instance,
IRemoteChangeListener rcl)
Create a BDI listener.
|
Modifier and Type | Method and Description |
---|---|
void |
elementAdded(String type,
Object value)
An element was added.
|
void |
elementChanged(String type,
Object value)
An element was changed.
|
void |
elementRemoved(String type,
Object value)
An element was removed.
|
boolean |
equals(Object obj)
Test equality based on id.
|
int |
hashCode()
Hash code based on id.
|
void |
occurrenceAppeared(String type,
Object value)
An occurrence appeared.
|
public static final String EVENT_ADDED
public static final String EVENT_REMOVED
public static final String EVENT_CHANGED
public static final String EVENT_OCCURRED
public static final String EVENT_BULK
public RemoteChangeListenerHandler(String id, IInternalAccess instance, IRemoteChangeListener rcl)
public void elementAdded(String type, Object value)
type
- The element type used as prefix for the event (e.g. use 'goal' for 'goal_added' events).value
- The element value (must be transferable).public void elementRemoved(String type, Object value)
type
- The element type used as prefix for the event (e.g. use 'goal' for 'goal_removed' events).value
- The element value (must be transferable).public void elementChanged(String type, Object value)
type
- The element type used as prefix for the event (e.g. use 'goal' for 'goal_changed' events).value
- The element value (must be transferable).public void occurrenceAppeared(String type, Object value)
type
- The occurrence type used as prefix for the event (e.g. use 'step' for 'step_occurred' events).value
- The occurrence value (must be transferable).public boolean equals(Object obj)
Copyright © 2012. All Rights Reserved.