public interface Extension
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(byte[] data)
Deserialize the extension from a byte array.
|
List<String> |
getProperties()
Gets a list of all properties on the extension.
|
<T> T |
getPropertyValue(String key)
Gets a property value of an extension.
|
byte[] |
serialize()
Serialize the extension to a byte array.
|
<T> void |
setPropertyValue(String key,
T value)
Sets a property on the extension.
|
<T> void setPropertyValue(String key, T value) throws ExtensionPropertyException
T - class of the valuekey - property keyvalue - value to set for the given keyExtensionPropertyException - if the given key is not a valid
property on this extension<T> T getPropertyValue(String key) throws ExtensionPropertyException
T - class of the valuekey - property keyExtensionPropertyException - if the given key is not a valid
property on this extensionList<String> getProperties()
byte[] serialize()
void deserialize(byte[] data)
data - input byte array