@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public class OptionChangedEvent
extends java.lang.Object
Constructor and Description |
---|
OptionChangedEvent(java.lang.String optionKey,
java.lang.Object oldValue,
java.lang.Object newValue)
The constructor of the option changed event.
|
OptionChangedEvent(java.lang.String optionKey,
java.lang.String oldValue,
java.lang.String newValue)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getNewObjectValue()
Get the new value as an object (string, boolean or even a more complex persistent object).
|
java.lang.String |
getNewValue()
Deprecated.
|
java.lang.Object |
getOldObjectValue()
Get the new old as an object (string, boolean or even a more complex persistent object).
|
java.lang.String |
getOldValue()
Deprecated.
|
java.lang.String |
getOptionKey() |
@Deprecated public OptionChangedEvent(java.lang.String optionKey, java.lang.String oldValue, java.lang.String newValue)
OptionChangedEvent(String, Object, Object)
constructor instead.optionKey
- The identification key of the option
whose value modification generated this event.oldValue
- The old value of the option.newValue
- The new value of the option.public OptionChangedEvent(java.lang.String optionKey, java.lang.Object oldValue, java.lang.Object newValue)
optionKey
- The identification key of the option
whose value modification generated this event.oldValue
- The old value of the option.newValue
- The new value of the option.public java.lang.String getOptionKey()
@Deprecated public java.lang.String getOldValue()
getOldObjectValue()
method instead.@Deprecated public java.lang.String getNewValue()
getNewObjectValue()
method instead.public java.lang.Object getOldObjectValue()
public java.lang.Object getNewObjectValue()
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.