public class ServerStoredDetailsChangeEvent
extends java.util.EventObject
Modifier and Type | Field and Description |
---|---|
static int |
DETAIL_ADDED
Indicates that the ServerStoredDetailsChangeEvent instance was triggered
by adding a new detail.
|
static int |
DETAIL_REMOVED
Indicates that the ServerStoredDetailsChangeEvent instance was triggered
by the removal of an existing detail.
|
static int |
DETAIL_REPLACED
Indicates that the ServerStoredDetailsChangeEvent instance was triggered
by the fact a detail was replaced with new value.
|
Constructor and Description |
---|
ServerStoredDetailsChangeEvent(ProtocolProviderService source,
int eventID,
java.lang.Object oldValue,
java.lang.Object newValue)
Constructs a ServerStoredDetailsChangeEvent.
|
Modifier and Type | Method and Description |
---|---|
int |
getEventID()
Returns the event type id.
|
java.lang.Object |
getNewValue()
Gets the new value for the event, expressed as an Object.
|
java.lang.Object |
getOldValue()
Gets the old value for the event, expressed as an Object.
|
ProtocolProviderService |
getProvider()
Returns the provider that has generated this event
|
public static final int DETAIL_ADDED
public static final int DETAIL_REMOVED
public static final int DETAIL_REPLACED
public ServerStoredDetailsChangeEvent(ProtocolProviderService source, int eventID, java.lang.Object oldValue, java.lang.Object newValue)
source
- The object on which the Event initially occurred.eventID
- the event IDoldValue
- old valuenewValue
- new valuejava.lang.IllegalArgumentException
- if source is null.public ProtocolProviderService getProvider()
public java.lang.Object getNewValue()
public java.lang.Object getOldValue()
public int getEventID()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.